diff --git a/tests/AuthenticationTest.php b/tests/AuthenticationTest.php index 9acb32a34..8be48a276 100644 --- a/tests/AuthenticationTest.php +++ b/tests/AuthenticationTest.php @@ -4,6 +4,7 @@ namespace SellingPartnerApi\Tests; +use DateTimeImmutable; use PHPUnit\Framework\TestCase; use Saloon\Config; use Saloon\Exceptions\Request\Statuses\UnauthorizedException; diff --git a/tests/InMemoryTokenCacheTest.php b/tests/InMemoryTokenCacheTest.php index cafd1a47b..d7e24a241 100644 --- a/tests/InMemoryTokenCacheTest.php +++ b/tests/InMemoryTokenCacheTest.php @@ -4,6 +4,7 @@ namespace SellingPartnerApi\Tests; +use DateTimeImmutable; use PHPUnit\Framework\TestCase; use SellingPartnerApi\Authentication\AccessTokenAuthenticator; use SellingPartnerApi\Authentication\InMemoryTokenCache; diff --git a/tests/Seller/FBAInboundV0/Requests/UpdateInboundShipmentTest.php b/tests/Seller/FBAInboundV0/Requests/UpdateInboundShipmentTest.php index e32c37403..37a9bc108 100644 --- a/tests/Seller/FBAInboundV0/Requests/UpdateInboundShipmentTest.php +++ b/tests/Seller/FBAInboundV0/Requests/UpdateInboundShipmentTest.php @@ -64,7 +64,7 @@ public function testHasJsonBody(): void ); $connector->withMockClient($mockClient); - $dto = $connector->fbaInboundV0()->updateInboundShipment(123456, new InboundShipmentRequest( + $dto = $connector->fbaInboundV0()->updateInboundShipment('123456', new InboundShipmentRequest( inboundShipmentHeader: new InboundShipmentHeader( shipmentName: 'shipment-name', shipFromAddress: new Address( diff --git a/tests/SerializationTest.php b/tests/SerializationTest.php index c9eeeef5f..21ee64477 100644 --- a/tests/SerializationTest.php +++ b/tests/SerializationTest.php @@ -4,6 +4,7 @@ namespace SellingPartnerApi\Tests; +use DateTimeImmutable; use PHPUnit\Framework\TestCase; use Saloon\Http\Faking\MockClient; use Saloon\Http\Faking\MockResponse; diff --git a/tests/TokenCacheTest.php b/tests/TokenCacheTest.php index d9a0ab284..ebdd4dc09 100644 --- a/tests/TokenCacheTest.php +++ b/tests/TokenCacheTest.php @@ -4,6 +4,7 @@ namespace SellingPartnerApi\Tests; +use Faker; use PHPUnit\Framework\TestCase; use Saloon\Config; use Saloon\Http\Faking\MockClient;