From: Nilesh Deepak Date: Sat, 15 Jul 2017 13:30:23 +0000 (+0530) Subject: Resolving test cases X-Git-Tag: v0.19.0~1^2~15^2~8 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/a149e87ca7e49f278f5cff1bd9316bf49a2297f4 Resolving test cases --- diff --git a/tests/Entity/EntityTest.php b/tests/Entity/EntityTest.php index 23c9c96eb..e639717aa 100644 --- a/tests/Entity/EntityTest.php +++ b/tests/Entity/EntityTest.php @@ -150,11 +150,6 @@ class EntityTest extends BrowserKitTest ->seePageIs('/books/my-first-book') ->see($book->name)->see($book->description); - $book = factory(Book::class)->latest(); - $this->assertDatabaseHas('images', [ - 'id' => $book->image - ]); - // Ensure duplicate names are given different slugs $this->asAdmin() ->visit('/books/create')