mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-01 12:55:12 +08:00
Fixed tests to align with recent changes, Updated php deps
This commit is contained in:
parent
e20c944350
commit
40a1377c0b
470
composer.lock
generated
470
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
|||||||
<div class="mt-m">
|
<div class="mt-m">
|
||||||
<main class="content-wrap card">
|
<main class="content-wrap card">
|
||||||
<div component="page-display"
|
<div component="page-display"
|
||||||
option:page-display:page-id="{{ $page->id }}"
|
option:page-display:page-id="{{ $customHomepage->id }}"
|
||||||
class="page-content">
|
class="page-content">
|
||||||
@include('pages.parts.page-display', ['page' => $customHomepage])
|
@include('pages.parts.page-display', ['page' => $customHomepage])
|
||||||
</div>
|
</div>
|
||||||
|
@ -330,7 +330,7 @@ abstract class TestCase extends BaseTestCase
|
|||||||
|
|
||||||
protected function assertNotificationContains(\Illuminate\Testing\TestResponse $resp, string $text)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user