]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/BookTest.php
Reverted shift change to old migration
[bookstack] / tests / Entity / BookTest.php
index 53ee6faf98b76302a942a330ce8c7819a9fbc393..2894fbb98f86476947c967bc899cb7caa54dd01a 100644 (file)
@@ -9,7 +9,7 @@ class BookTest extends TestCase
 {
     public function test_create()
     {
-        $book = factory(Book::class)->make([
+        $book = Book::factory()->make([
             'name' => 'My First Book',
         ]);
 
@@ -29,7 +29,7 @@ class BookTest extends TestCase
 
     public function test_create_uses_different_slugs_when_name_reused()
     {
-        $book = factory(Book::class)->make([
+        $book = Book::factory()->make([
             'name' => 'My First Book',
         ]);