1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Fixed failing tests after conversion changes

This commit is contained in:
Dan Brown
2022-06-19 18:44:34 +01:00
parent ba25dda031
commit 388343aeb0
3 changed files with 6 additions and 4 deletions

View File

@ -290,6 +290,7 @@ class BookTest extends TestCase
/** @var Book $copy */
$copy = Book::query()->where('name', '=', 'My copy book')->first();
$this->assertNotNull($copy->cover);
$this->assertNotEquals($book->cover->id, $copy->cover->id);
}