Skip to content

Commit 58e263e

Browse files
committed
fix: plannedShipDate fixture
1 parent 3d5a170 commit 58e263e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/EasyPost/Fixture.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,9 @@ public static function rmaFormOtions()
176176
{
177177
return self::readFixtureData()['form_options']['rma'];
178178
}
179+
180+
public static function plannedShipDate()
181+
{
182+
return '2023-04-28';
183+
}
179184
}

test/EasyPost/ShipmentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ public function testRetrieveEstimatedDeliveryDate()
584584

585585
$rates = self::$client->shipment->retrieveEstimatedDeliveryDate(
586586
$shipment->id,
587-
'2023-04-28',
587+
Fixture::plannedShipDate(),
588588
);
589589

590590
foreach ($rates as $entry) {

0 commit comments

Comments
 (0)