From 55d6d7f211724874d8487e865568e20917c547b9 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 3 Nov 2016 11:43:35 +0300 Subject: [PATCH] Fixed tests to pass against latest framework release (#160) --- tests/ActiveFieldTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/ActiveFieldTest.php b/tests/ActiveFieldTest.php index 5ef4480..76aa6ef 100644 --- a/tests/ActiveFieldTest.php +++ b/tests/ActiveFieldTest.php @@ -28,12 +28,11 @@ class ActiveFieldTest extends TestCase protected function setUp() { - parent::setUp(); // dirty way to have Request object not throwing exception when running testHomeLinkNull() $_SERVER['SCRIPT_FILENAME'] = "index.php"; $_SERVER['SCRIPT_NAME'] = "index.php"; - $this->mockWebApplication(); + parent::setUp(); $this->helperModel = new DynamicModel(['attributeName']); ob_start(); @@ -53,7 +52,7 @@ class ActiveFieldTest extends TestCase $expectedHtml = << - +
@@ -69,7 +68,7 @@ HTML; $expectedHtml = << - +