From a149e87ca7e49f278f5cff1bd9316bf49a2297f4 Mon Sep 17 00:00:00 2001 From: Nilesh Deepak Date: Sat, 15 Jul 2017 19:00:23 +0530 Subject: [PATCH] Resolving test cases --- tests/Entity/EntityTest.php | 5 ----- 1 file changed, 5 deletions(-) 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')