From 8e2bfd28dba382da386ae741397abb9acda5148a Mon Sep 17 00:00:00 2001 From: Abdelmajied Date: Wed, 4 Sep 2024 14:09:20 +0300 Subject: [PATCH] fix the test --- .../FulfillmentInbound20240320ResourceTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Unit/Resources/FulfillmentInbound/FulfillmentInbound20240320ResourceTest.php b/tests/Unit/Resources/FulfillmentInbound/FulfillmentInbound20240320ResourceTest.php index f0b2c55..db21c60 100644 --- a/tests/Unit/Resources/FulfillmentInbound/FulfillmentInbound20240320ResourceTest.php +++ b/tests/Unit/Resources/FulfillmentInbound/FulfillmentInbound20240320ResourceTest.php @@ -310,17 +310,15 @@ public function testListPackingGroupItems(): void $amzn = $amzn->usingMarketplace('ATVPDKIKX0DER'); $response = $amzn->fulfillment_inbound20240320->listPackingGroupItems( inbound_plan_id: $inbound_plan_id = Str::random(38), - packing_option_id: $packing_option_id = Str::random(38), packing_group_id: $packing_group_id = Str::random(38), ); $this->assertInstanceOf(ListPackingGroupItemsResponse::class, $response); $this->assertEquals('ITEM_POLYBAGGING', $response->items[0]->prep_instructions[0]->prep_type->value); - $http->assertSent(function (Request $request) use ($inbound_plan_id, $packing_option_id, $packing_group_id) { + $http->assertSent(function (Request $request) use ($inbound_plan_id, $packing_group_id) { $this->assertEquals('GET', $request->method()); $this->assertEquals('https://sellingpartnerapi-na.amazon.com/inbound/fba/2024-03-20/inboundPlans/' . $inbound_plan_id - . '/packingOptions/' . $packing_option_id . '/packingGroups/' . $packing_group_id . '/items', $request->url());