| @@ -455,9 +455,9 @@ | ||
| 455 | 455 | 'shipping_last_name' => $lastName, |
| 456 | 456 | 'billing_address_1' => $faker->streetName(), |
| 457 | 457 | 'billing_address_2' => '', |
| 458 | 458 | 'billing_city' => $faker->city(), |
| 459 | - 'billing_state' => $faker->state, | |
| 459 | + 'billing_state' => $faker->state(), | |
| 460 | 460 | 'billing_zip' => $faker->postcode, |
| 461 | 461 | 'billing_country' => $faker->countryCode(), |
| 462 | 462 | 'ip_address' => $faker->ipv4, |
| 463 | 463 | 'phone' => $faker->phoneNumber, |
| @@ -521,8 +521,9 @@ | ||
| 521 | 521 | delete_option('fluent_cart_plugin_once_activated'); |
| 522 | 522 | delete_option('fluent_cart_store_settings'); |
| 523 | 523 | delete_option('fluent_cart_tax_configuration_settings'); |
| 524 | 524 | delete_option('fluent_cart_has_tax_configure'); |
| 525 | + \FluentCart\Api\StoreSettings::clearCache(); | |
| 525 | 526 | |
| 526 | 527 | delete_option('__fluent_cart_edd2_migration_steps'); |
| 527 | 528 | delete_option('_fluent_edd_failed_payment_logs'); |
| 528 | 529 | |
| @@ -1441,9 +1442,9 @@ | ||
| 1441 | 1442 | $customer->last_name = $faker->lastName; |
| 1442 | 1443 | $customer->email = $faker->safeEmail; |
| 1443 | 1444 | $customer->phone = $faker->phoneNumber; |
| 1444 | 1445 | $customer->city = $faker->city; |
| 1445 | - $customer->state = $faker->state; | |
| 1446 | + $customer->state = $faker->state(); | |
| 1446 | 1447 | $customer->postcode = $faker->postcode; |
| 1447 | 1448 | $customer->country = $faker->countryCode; |
| 1448 | 1449 | |
| 1449 | 1450 | $item1 = new \FluentCart\App\Models\OrderItem(); |