From 60025c108935f54e40a457a4213dbd2103dd0629 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Fri, 29 Nov 2024 14:55:36 -0500 Subject: [PATCH] Check the whole div tag for the error message --- app/tests/Controller/ControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/Controller/ControllerTest.php b/app/tests/Controller/ControllerTest.php index e7696fa..5f2f569 100644 --- a/app/tests/Controller/ControllerTest.php +++ b/app/tests/Controller/ControllerTest.php @@ -128,7 +128,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(str_contains($body, "flash")); + $this->assertTrue(str_contains($body, '