Skip to content

Commit

Permalink
Fix tlint
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Nov 3, 2023
1 parent a2997fd commit f5a786e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/Feature/DockerTagsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@

class DockerTagsTest extends TestCase
{
public static function armPlatforms(): array
{
return [
[FakePlatformDockerTags::M1_ARM_PLATFORM],
[FakePlatformDockerTags::LINUX_ARM_PLATFORM],
];
}

/** @test */
function it_gets_the_latest_tag_not_named_latest()
{
Expand Down Expand Up @@ -70,14 +78,6 @@ function it_gets_latest_tag_on_intel_platform()
$this->assertEquals('1.0.0', $dockerTags->getLatestTag());
}

public static function armPlatforms()
{
return [
[FakePlatformDockerTags::M1_ARM_PLATFORM],
[FakePlatformDockerTags::LINUX_ARM_PLATFORM],
];
}

private function mockImagesResponseHandler()
{
return new MockHandler([
Expand Down

0 comments on commit f5a786e

Please sign in to comment.