Add test case for the flash messages that seems to fail when using the site.

This commit is contained in:
Dave Smith-Hayes 2024-11-25 22:11:22 -05:00
parent b4bc66d288
commit ca4be5e3ec

View File

@ -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');