From 02572a814ac800899305b86a6594a8db65a136c5 Mon Sep 17 00:00:00 2001 From: mkarthauser Date: Fri, 30 Apr 2021 18:55:07 +0100 Subject: [PATCH] fixing case of contact model in tests --- tests/Feature/ContactsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Feature/ContactsTest.php b/tests/Feature/ContactsTest.php index 3fdfdfa..7bc6ad8 100644 --- a/tests/Feature/ContactsTest.php +++ b/tests/Feature/ContactsTest.php @@ -49,7 +49,7 @@ class ContactsTest extends TestCase public function test_can_search_for_contacts() { $this->user->account->contacts()->saveMany( - factory(contact::class, 5)->make() + factory(Contact::class, 5)->make() )->first()->update([ 'first_name' => 'Greg', 'last_name' => 'Andersson' @@ -68,7 +68,7 @@ class ContactsTest extends TestCase public function test_cannot_view_deleted_contacts() { $this->user->account->contacts()->saveMany( - factory(contact::class, 5)->make() + factory(Contact::class, 5)->make() )->first()->delete(); $this->actingAs($this->user) @@ -80,7 +80,7 @@ class ContactsTest extends TestCase public function test_can_filter_to_view_deleted_contacts() { $this->user->account->contacts()->saveMany( - factory(contact::class, 5)->make() + factory(Contact::class, 5)->make() )->first()->delete(); $this->actingAs($this->user)