X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/900e853b1568cf24dea52b09aa0fa6582e670645..refs/pull/3918/head:/tests/TestCase.php diff --git a/tests/TestCase.php b/tests/TestCase.php index 356fdaa37..d0dd7d772 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -330,7 +330,7 @@ abstract class TestCase extends BaseTestCase protected function assertNotificationContains(\Illuminate\Testing\TestResponse $resp, string $text) { - return $this->withHtml($resp)->assertElementContains('[notification]', $text); + return $this->withHtml($resp)->assertElementContains('.notification[role="alert"]', $text); } /**