export contact test updated
This commit is contained in:
parent
0608243cef
commit
e9a122ccf7
@ -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