Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Nov 13, 2024
1 parent 899c700 commit f72a9d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/Hooks/HasPsCarrierListHooksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class WithHasPsCarrierListHooks
'altern' => 1,
'cookie' => psFactory(Cookie::class)->make(),
'cart' => psFactory(Cart::class)
->withIdAddressDelivery($deliveryAddress->id)
->withAddressDelivery($deliveryAddress->id)
->make(),
'delivery_option_list' => [
2 => $deliveryOptionCarrierList,
Expand Down
4 changes: 2 additions & 2 deletions tests/factories/CookieFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
declare(strict_types=1);

use MyParcelNL\PrestaShop\Tests\Factory\AbstractPsObjectModelFactory;
use MyParcelNL\PrestaShop\Tests\Factory\Contract\WithCustomer;
use MyParcelNL\PrestaShop\Tests\Factory\Contract\WithLang;
use MyParcelNL\PrestaShop\Tests\Factory\Concern\WithCustomer;
use MyParcelNL\PrestaShop\Tests\Factory\Concern\WithLang;

/**
* @method withDetectLanguage(bool $detectLanguage)
Expand Down

0 comments on commit f72a9d8

Please sign in to comment.