]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageContentTest.php
Create additional test helper classes
[bookstack] / tests / Entity / PageContentTest.php
index 0c9854206d12be7c9124c5057c24a2a203b8e822..e24ee4fb5fa9cdd057ecb011680b6fe6c6dad311 100644 (file)
@@ -483,7 +483,7 @@ class PageContentTest extends TestCase
     {
         $page = $this->entities->page();
 
-        $this->actingAs($this->getAdmin())
+        $this->actingAs($this->users->admin())
             ->put($page->getUrl(''), [
                 'name' => 'Testing',
                 'html' => '<p>&quot;Hello &amp; welcome&quot;</p>',