Fixed tests to align with recent changes, Updated php deps

This commit is contained in:
Dan Brown 2022-11-23 12:07:46 +00:00
parent e20c944350
commit 40a1377c0b
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
3 changed files with 237 additions and 237 deletions

470
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
<div class="mt-m">
<main class="content-wrap card">
<div component="page-display"
option:page-display:page-id="{{ $page->id }}"
option:page-display:page-id="{{ $customHomepage->id }}"
class="page-content">
@include('pages.parts.page-display', ['page' => $customHomepage])
</div>

View File

@ -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);
}
/**