Commit f217948b by Carsten Brandt

fixed test break after #1207

parent 0c505fca
...@@ -28,6 +28,9 @@ class ActiveDataProviderTest extends DatabaseTestCase ...@@ -28,6 +28,9 @@ class ActiveDataProviderTest extends DatabaseTestCase
{ {
parent::setUp(); parent::setUp();
ActiveRecord::$db = $this->getConnection(); ActiveRecord::$db = $this->getConnection();
$this->mockApplication([
'request' => 'yii\\web\\Request',
]);
} }
public function testActiveQuery() public function testActiveQuery()
......
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