]> BookStack Code Mirror - bookstack/blobdiff - tests/PublicActionTest.php
add missing icon, fix name conventions
[bookstack] / tests / PublicActionTest.php
index 4e242fc7d6d34e9dadcd670771e326f225a0906f..6f8590d4b7b19f8a52d76381f2438527ac0e4b32 100644 (file)
@@ -1,6 +1,6 @@
-<?php
+<?php namespace Tests;
 
-class PublicActionTest extends TestCase
+class PublicActionTest extends BrowserKitTest
 {
 
     public function test_app_not_public()
@@ -84,7 +84,7 @@ class PublicActionTest extends TestCase
     {
         $page = \BookStack\Page::first();
         $this->asAdmin()->visit($page->getUrl());
-        Auth::logout();
+        \Auth::logout();
         view()->share('pageTitle', '');
         $this->forceVisit('/cats/dogs/hippos');
         $this->dontSee($page->name);