diff --git a/app/tests/Controller/ControllerTest.php b/app/tests/Controller/ControllerTest.php index af18adb..e7696fa 100644 --- a/app/tests/Controller/ControllerTest.php +++ b/app/tests/Controller/ControllerTest.php @@ -130,10 +130,6 @@ class ControllerTest extends TestCase // the flash class is in the body for this test case $this->assertTrue(str_contains($body, "flash")); $this->assertTrue(str_contains($body, "Error message")); - - //$errorMessages = $flash->get('error'); - //$this->assertNotEmpty($errorMessages); - //$this->assertEquals('Error message', $errorMessages[0]); - //$this->assertEquals(1, count($errorMessages)); + $this->assertEmpty($flash->all()); } }