]> BookStack Code Mirror - bookstack/blobdiff - tests/PublicActionTest.php
Upgraded to Laravel 5.4
[bookstack] / tests / PublicActionTest.php
index 685146423d80f54b6ce2d466ce7e8fc8e30fb417..6127e1cd40bdd8a878f6f219e1f2e622b54baf9e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class PublicActionTest extends TestCase
+class PublicActionTest extends BrowserKitTest
 {
 
     public function test_app_not_public()
@@ -64,7 +64,7 @@ class PublicActionTest extends TestCase
         $this->visit($chapter->book->getUrl());
         $this->visit($chapter->getUrl())
             ->click('New Page')
-            ->see('Create Page')
+            ->see('New Page')
             ->seePageIs($chapter->getUrl('/create-page'));
 
         $this->submitForm('Continue', [