Merge pull request #2711 from CihanSenturk/master
Export contact test updated
This commit is contained in:
commit
0f69798601
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user