Skip to content

Commit

Permalink
Add missing test declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Sep 6, 2024
1 parent e4b0c0c commit 9583375
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/TenantAwareAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function customTokensIncludeTheTenant(): void
}
}

#[Test]
public function it_can_sign_in_anonymously(): void
{
$user = $this->auth->createAnonymousUser();
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Database/UrlBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static function invalidUrls(): Iterator
* @param non-empty-string $expected
*/
#[DataProvider('realUrls')]
#[Test]
public function getGetUrl(string $baseUrl, string $path, array $queryParams, string $expected): void
{
$url = UrlBuilder::create($baseUrl)->getUrl($path, $queryParams);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function itKnowsWhenToRetryAfterWithDateStrings(): void
$this->assertSame($expected->getTimestamp(), $converted->retryAfter()->getTimestamp());
}

#[Test]
public function it_does_not_know_when_to_retry_when_it_does_not_have_to(): void
{
$response = new Response(503); // no Retry-After
Expand Down

0 comments on commit 9583375

Please sign in to comment.