Skip to content

Commit

Permalink
Resort functions order
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 authored Dec 6, 2022
1 parent 744b61b commit 49d8073
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/Unit/StatusCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
use PHPUnit\Framework\TestCase;

final class HttpCodesTest extends TestCase
{
{
/**
* @dataProvider statusCodesProvider
*/
public function testCorrectStatusCodes(int $expectedCode, int $actualCode): void
{
$this->assertSame($expectedCode, $actualCode);
}

public function statusCodesProvider(): array
{
return [
Expand Down Expand Up @@ -89,12 +97,4 @@ public function statusCodesProvider(): array
[511, StatusCode::NETWORK_AUTHENTICATION_REQUIRED]
];
}

/**
* @dataProvider statusCodesProvider
*/
public function testCorrectStatusCodes(int $expectedCode, int $actualCode): void
{
$this->assertSame($expectedCode, $actualCode);
}
}

0 comments on commit 49d8073

Please sign in to comment.