X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7b100ef361c3a1a05d1ac6e9894619662424caf2..refs/pull/3693/head:/tests/Entity/BookShelfTest.php diff --git a/tests/Entity/BookShelfTest.php b/tests/Entity/BookShelfTest.php index 5a7107ff0..44d30a548 100644 --- a/tests/Entity/BookShelfTest.php +++ b/tests/Entity/BookShelfTest.php @@ -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()