From ca4be5e3ec43b91c13e7c918a6bd33125040e116 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Mon, 25 Nov 2024 22:11:22 -0500 Subject: [PATCH] Add test case for the flash messages that seems to fail when using the site. --- app/tests/Controller/ControllerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/tests/Controller/ControllerTest.php b/app/tests/Controller/ControllerTest.php index 43a88c5..5bdec76 100644 --- a/app/tests/Controller/ControllerTest.php +++ b/app/tests/Controller/ControllerTest.php @@ -127,6 +127,7 @@ class ControllerTest extends TestCase $body = $response->getBody(); $body->read($body->getSize()); + // the flash class is in the body for this test case $this->assertTrue((bool) preg_match('/class\=\"flash/', $body)); //$errorMessages = $flash->get('error');