Skip to content

Commit

Permalink
Correct test imports following namespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Aug 6, 2024
1 parent 25e84dc commit 76f0d88
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/AuthenticationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace SellingPartnerApi\Tests;

use DateTimeImmutable;
use PHPUnit\Framework\TestCase;
use Saloon\Config;
use Saloon\Exceptions\Request\Statuses\UnauthorizedException;
Expand Down
1 change: 1 addition & 0 deletions tests/InMemoryTokenCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace SellingPartnerApi\Tests;

use DateTimeImmutable;
use PHPUnit\Framework\TestCase;
use SellingPartnerApi\Authentication\AccessTokenAuthenticator;
use SellingPartnerApi\Authentication\InMemoryTokenCache;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions tests/SerializationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace SellingPartnerApi\Tests;

use DateTimeImmutable;
use PHPUnit\Framework\TestCase;
use Saloon\Http\Faking\MockClient;
use Saloon\Http\Faking\MockResponse;
Expand Down
1 change: 1 addition & 0 deletions tests/TokenCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace SellingPartnerApi\Tests;

use Faker;
use PHPUnit\Framework\TestCase;
use Saloon\Config;
use Saloon\Http\Faking\MockClient;
Expand Down

0 comments on commit 76f0d88

Please sign in to comment.