]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageContentTest.php
Merge pull request #3986 from BookStackApp/permission_testing
[bookstack] / tests / Entity / PageContentTest.php
index 53107d14d19177cc6adb6ea408cb28714e952936..e8838ae0bb0198b6da7cfe655644a3c33e42ee11 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>',