Merge pull request #2711 from CihanSenturk/master

Export contact test updated
This commit is contained in:
Cüneyt Şentürk 2022-11-01 13:25:03 +03:00 committed by GitHub
commit 0f69798601
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();