1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-24 07:42:07 +03:00

Cover image test case

This commit is contained in:
Nilesh Deepak
2017-07-14 18:36:50 +05:30
parent 8f3adcda5d
commit 1fe8f13503

View File

@ -153,7 +153,7 @@ class EntityTest extends BrowserKitTest
->seePageIs('/books/my-first-book')
->see($book->name)->see($book->description);
$book = factory(Book::class)->latest();
$book = factory(Book::class)->latest();
$this->assertDatabaseHas('images', [
'id' => $book->image
]);