export contact test updated

This commit is contained in:
Cihan Şentürk 2022-11-01 13:10:08 +03:00 committed by GitHub
parent 0608243cef
commit e9a122ccf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -113,8 +113,8 @@ class VendorsTest extends FeatureTestCase
public function testItShouldExportVendors()
{
$count = 5;
Contact::factory()->vendor()->count($count)->create();
Contact::factory()->vendor()->count(5)->create();
$count = Contact::vendor()->count();
\Excel::fake();

View File

@ -135,7 +135,7 @@ class CustomersTest extends FeatureTestCase
public function testItShouldExportCustomers()
{
Contact::factory()->customer()->count(5)->create();
$count = Contact::count();
$count = Contact::customer()->count();
\Excel::fake();