From f217948bf4a8db4dc73878a1fee8df3478bf858e Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sat, 16 Nov 2013 17:08:47 +0100 Subject: [PATCH] fixed test break after #1207 --- tests/unit/framework/data/ActiveDataProviderTest.php | 3 +++ 1 file changed, 3 insertions(+) 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()