repair italian factory

This commit is contained in:
Herbert Maschke 2020-01-24 15:26:33 +01:00
parent 80dc92efa4
commit 8a927d32c1
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@ $factory->define(CustomerAddress::class, function (Faker $faker) {
$now = date("Y-m-d H:i:s");
// use an locale from a country in europe so the vat id can be generated
$fakerIt = \Faker\Factory('it_IT');
$fakerIt = \Faker\Factory::create('it_IT');
return [
'customer_id' => function () {

View File

@ -6,7 +6,6 @@ use FunctionalTester;
use Webkul\Sales\Models\Invoice;
use Webkul\Sales\Models\OrderAddress;
class InvoiceCest
{
public function testIndex(FunctionalTester $I): void