Commit aae8622f by Qiang Xue

Fixed test break.

parent bda1ffa6
...@@ -30,7 +30,7 @@ class CacheSessionTest extends \yiiunit\TestCase ...@@ -30,7 +30,7 @@ class CacheSessionTest extends \yiiunit\TestCase
public function testInvalidCache() public function testInvalidCache()
{ {
$this->setExpectedException('yii\base\InvalidConfigException'); $this->setExpectedException('\Exception');
new CacheSession(['cache' => 'invalid']); new CacheSession(['cache' => 'invalid']);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment