From f80f88ca882bdcbfe40160390e9534030b6046d9 Mon Sep 17 00:00:00 2001 From: markernst97 Date: Wed, 28 Feb 2024 16:13:11 +0100 Subject: [PATCH] test: fix test --- test/Model/Consignment/PostNLConsignmentTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Model/Consignment/PostNLConsignmentTest.php b/test/Model/Consignment/PostNLConsignmentTest.php index 989815d7..72f70675 100644 --- a/test/Model/Consignment/PostNLConsignmentTest.php +++ b/test/Model/Consignment/PostNLConsignmentTest.php @@ -39,11 +39,10 @@ public function providePostNLConsignmentsData(): array self::PACKAGE_TYPE => AbstractConsignment::PACKAGE_TYPE_PACKAGE_SMALL, self::expected(self::DELIVERY_TYPE) => AbstractConsignment::DELIVERY_TYPE_STANDARD, ], - 'Customs declaration' => $this->getDefaultAddress('CA') + [ - self::PACKAGE_TYPE => AbstractConsignment::PACKAGE_TYPE_PACKAGE, + 'Customs declaration' => array_merge($this->getDefaultAddress('CA'),$this->getDefaultConsignmentData(), [ self::CUSTOMS_DECLARATION => $this->getDefaultCustomsDeclaration(), self::expected(self::DELIVERY_TYPE) => AbstractConsignment::DELIVERY_TYPE_STANDARD, - ], + ]), ]); }