]>
BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageDraftTest.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into translations
[bookstack]
/
tests
/
Entity
/
PageDraftTest.php
diff --git
a/tests/Entity/PageDraftTest.php
b/tests/Entity/PageDraftTest.php
index 108b7459f79c860e7d12c8d4649b87bea6042ab6..1a46e30bc6b03c2e26361b9563b33b6a16a1ba1f 100644
(file)
--- a/
tests/Entity/PageDraftTest.php
+++ b/
tests/Entity/PageDraftTest.php
@@
-86,7
+86,7
@@
class PageDraftTest extends TestCase
->visit($chapter->getUrl() . '/create-page')
->visit($book->getUrl())
->seeInElement('.page-list', 'New Page');
-
+
$this->asAdmin()
->visit($book->getUrl())
->dontSeeInElement('.page-list', 'New Page')