diff --git a/composer.json b/composer.json index ba219bbe..d43ee55b 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,7 @@ }, "autoload-dev": { "psr-4": { - "SellingPartnerApi\\Tests\\": "test/" + "SellingPartnerApi\\Tests\\": "tests/" } }, "scripts": { diff --git a/tests/AuthenticationTest.php b/tests/AuthenticationTest.php index e7269243..9acb32a3 100644 --- a/tests/AuthenticationTest.php +++ b/tests/AuthenticationTest.php @@ -2,6 +2,8 @@ declare(strict_types=1); +namespace SellingPartnerApi\Tests; + use PHPUnit\Framework\TestCase; use Saloon\Config; use Saloon\Exceptions\Request\Statuses\UnauthorizedException; diff --git a/tests/InMemoryTokenCacheTest.php b/tests/InMemoryTokenCacheTest.php index 3ef7494c..cafd1a47 100644 --- a/tests/InMemoryTokenCacheTest.php +++ b/tests/InMemoryTokenCacheTest.php @@ -2,6 +2,8 @@ declare(strict_types=1); +namespace SellingPartnerApi\Tests; + use PHPUnit\Framework\TestCase; use SellingPartnerApi\Authentication\AccessTokenAuthenticator; use SellingPartnerApi\Authentication\InMemoryTokenCache; diff --git a/tests/OAuthTest.php b/tests/OAuthTest.php index f76e4443..e382834b 100644 --- a/tests/OAuthTest.php +++ b/tests/OAuthTest.php @@ -1,5 +1,9 @@ '2024-09-24T00:00Z', 'deliveryWindowOptionId' => 'dwf5ab76c1-ed8a-4885-beb6-3a9992b6954e', 'startDate' => $now->format('Y-m-d\TH:i\Z'), - ] + ], ], ]); $this->assertNotNull($result); @@ -32,4 +32,4 @@ function testDeserializeDateTimeWithoutSeconds(): void // of the original datetime $this->assertEqualsWithDelta($now->getTimestamp(), $result->deliveryWindowOptions[0]->startDate->getTimestamp(), 60); } -} \ No newline at end of file +} diff --git a/tests/Seller/ReportsV20210630/Responses/ReportTest.php b/tests/Seller/ReportsV20210630/Responses/ReportTest.php index c17ed986..6b8f719b 100644 --- a/tests/Seller/ReportsV20210630/Responses/ReportTest.php +++ b/tests/Seller/ReportsV20210630/Responses/ReportTest.php @@ -1,6 +1,6 @@