mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update the controller test with new validation tweak
This commit is contained in:
parent
0bda6ee402
commit
8eba1da1f1
@ -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([]));
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user