From 8eba1da1f194e5124d87cc4d3b5c75e68af1ad44 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Fri, 22 Sep 2017 23:39:10 -0500 Subject: [PATCH] Update the controller test with new validation tweak --- tests/system/ControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/ControllerTest.php b/tests/system/ControllerTest.php index 66773e7fc2..5c753cb7ac 100644 --- a/tests/system/ControllerTest.php +++ b/tests/system/ControllerTest.php @@ -82,7 +82,7 @@ class ControllerTest extends \CIUnitTestCase // make sure we can instantiate one $this->controller = new Controller($this->request, $this->response); // and that we can attempt validation, with no rules - $this->assertTrue($this->controller->validate([])); + $this->assertFalse($this->controller->validate([])); } //--------------------------------------------------------------------