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([