]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/BookShelfTest.php
Laravel 8 shift squash & merge (#3029)
[bookstack] / tests / Entity / BookShelfTest.php
index afd6a1a065614049a2ee5a83b3606bfa9f43053f..fcbc17ea94ba40ce4c0c89f811234cc829786bd3 100644 (file)
@@ -37,7 +37,7 @@ class BookShelfTest extends TestCase
 
     public function test_shelves_shows_in_header_if_have_any_shelve_view_permission()
     {
-        $user = factory(User::class)->create();
+        $user = User::factory()->create();
         $this->giveUserPermissions($user, ['image-create-all']);
         $shelf = Bookshelf::first();
         $userRole = $user->roles()->first();