From 9288efb9247c3e1e4463f465df14088bb124f6e7 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sat, 23 Nov 2013 18:27:58 +0100 Subject: [PATCH] fixed Sort test --- tests/unit/framework/data/SortTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/unit/framework/data/SortTest.php b/tests/unit/framework/data/SortTest.php index dca2fcb..c21990e 100644 --- a/tests/unit/framework/data/SortTest.php +++ b/tests/unit/framework/data/SortTest.php @@ -19,6 +19,12 @@ use yii\data\Sort; */ class SortTest extends TestCase { + protected function setUp() + { + parent::setUp(); + $this->mockApplication(); + } + public function testGetOrders() { $sort = new Sort([