X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4b36df08a80f467c037de3bbdf85e13cd4cef9bc..refs/pull/2902/head:/tests/Entity/PageDraftTest.php diff --git a/tests/Entity/PageDraftTest.php b/tests/Entity/PageDraftTest.php index 0e3980c67..68059af6e 100644 --- a/tests/Entity/PageDraftTest.php +++ b/tests/Entity/PageDraftTest.php @@ -1,4 +1,6 @@ -actingAs($newUser) ->visit($this->page->getUrl('/edit')) ->see('Admin has started editing this page'); - $this->flushSession(); + $this->flushSession(); $this->visit($nonEditedPage->getUrl() . '/edit') ->dontSeeInElement('.notification', 'Admin has started editing this page'); } @@ -112,5 +114,4 @@ class PageDraftTest extends BrowserKitTest 'html' => $page->html, ]); } - }