]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/BookShelfTest.php
Fixed local_secure_restricted preventing attachment uploads
[bookstack] / tests / Entity / BookShelfTest.php
index 5a7107ff0967166e3addd2c8a5cd7e7741a74609..44d30a548a062ac9559aef2e552761d34fa61c47 100644 (file)
@@ -125,6 +125,7 @@ class BookShelfTest extends TestCase
             'image_id' => $lastImage->id,
         ]);
         $this->assertEquals($lastImage->id, $shelf->cover->id);
+        $this->assertEquals('cover_bookshelf', $lastImage->type);
     }
 
     public function test_shelf_view()