diff --git a/tests/unit/framework/data/ActiveDataProviderTest.php b/tests/unit/framework/data/ActiveDataProviderTest.php index 4e4ca77..a5f0d14 100644 --- a/tests/unit/framework/data/ActiveDataProviderTest.php +++ b/tests/unit/framework/data/ActiveDataProviderTest.php @@ -28,6 +28,9 @@ class ActiveDataProviderTest extends DatabaseTestCase { parent::setUp(); ActiveRecord::$db = $this->getConnection(); + $this->mockApplication([ + 'request' => 'yii\\web\\Request', + ]); } public function testActiveQuery()