Browse Source

fixed test break after #1207

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
f217948bf4
  1. 3
      tests/unit/framework/data/ActiveDataProviderTest.php

3
tests/unit/framework/data/ActiveDataProviderTest.php

@ -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()

Loading…
Cancel
Save