export contact test updated
This commit is contained in:
@@ -113,8 +113,8 @@ class VendorsTest extends FeatureTestCase
|
|||||||
|
|
||||||
public function testItShouldExportVendors()
|
public function testItShouldExportVendors()
|
||||||
{
|
{
|
||||||
$count = 5;
|
Contact::factory()->vendor()->count(5)->create();
|
||||||
Contact::factory()->vendor()->count($count)->create();
|
$count = Contact::vendor()->count();
|
||||||
|
|
||||||
\Excel::fake();
|
\Excel::fake();
|
||||||
|
|
||||||
|
@@ -135,7 +135,7 @@ class CustomersTest extends FeatureTestCase
|
|||||||
public function testItShouldExportCustomers()
|
public function testItShouldExportCustomers()
|
||||||
{
|
{
|
||||||
Contact::factory()->customer()->count(5)->create();
|
Contact::factory()->customer()->count(5)->create();
|
||||||
$count = Contact::count();
|
$count = Contact::customer()->count();
|
||||||
|
|
||||||
\Excel::fake();
|
\Excel::fake();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user