diff options
Diffstat (limited to 'tests/Unit/Http')
-rw-r--r-- | tests/Unit/Http/Exceptions/HttpExceptionTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Http/LegacyUrlGeneratorTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Http/RequestTest.php | 2 | ||||
-rw-r--r-- | tests/Unit/Http/ResponseTest.php | 4 | ||||
-rw-r--r-- | tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php | 4 | ||||
-rw-r--r-- | tests/Unit/Http/SessionServiceProviderTest.php | 6 |
6 files changed, 10 insertions, 10 deletions
diff --git a/tests/Unit/Http/Exceptions/HttpExceptionTest.php b/tests/Unit/Http/Exceptions/HttpExceptionTest.php index ce2b064d..6ab56d62 100644 --- a/tests/Unit/Http/Exceptions/HttpExceptionTest.php +++ b/tests/Unit/Http/Exceptions/HttpExceptionTest.php @@ -9,8 +9,8 @@ class HttpExceptionTest extends TestCase { /** * @covers \Engelsystem\Http\Exceptions\HttpException::__construct - * @covers \Engelsystem\Http\Exceptions\HttpException::getStatusCode * @covers \Engelsystem\Http\Exceptions\HttpException::getHeaders + * @covers \Engelsystem\Http\Exceptions\HttpException::getStatusCode */ public function testConstruct() { diff --git a/tests/Unit/Http/LegacyUrlGeneratorTest.php b/tests/Unit/Http/LegacyUrlGeneratorTest.php index 2c087f8f..8caf3c77 100644 --- a/tests/Unit/Http/LegacyUrlGeneratorTest.php +++ b/tests/Unit/Http/LegacyUrlGeneratorTest.php @@ -4,8 +4,8 @@ namespace Engelsystem\Test\Unit\Http; use Engelsystem\Application; use Engelsystem\Container\Container; -use Engelsystem\Http\Request; use Engelsystem\Http\LegacyUrlGenerator; +use Engelsystem\Http\Request; use Engelsystem\Http\UrlGeneratorInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Unit/Http/RequestTest.php b/tests/Unit/Http/RequestTest.php index 26bf0116..4d942311 100644 --- a/tests/Unit/Http/RequestTest.php +++ b/tests/Unit/Http/RequestTest.php @@ -163,7 +163,7 @@ class RequestTest extends TestCase [ '*', '/foo/bar', - 'https://lorem.ipsum/test?lor=em' + 'https://lorem.ipsum/test?lor=em', ] as $target ) { $new = $request->withRequestTarget($target); diff --git a/tests/Unit/Http/ResponseTest.php b/tests/Unit/Http/ResponseTest.php index 6f57e1db..6f20ff67 100644 --- a/tests/Unit/Http/ResponseTest.php +++ b/tests/Unit/Http/ResponseTest.php @@ -26,8 +26,8 @@ class ResponseTest extends TestCase } /** - * @covers \Engelsystem\Http\Response::withStatus * @covers \Engelsystem\Http\Response::getReasonPhrase + * @covers \Engelsystem\Http\Response::withStatus */ public function testWithStatus() { @@ -85,4 +85,4 @@ class ResponseTest extends TestCase $response = new Response(); $response->withView('foo'); } -}
\ No newline at end of file +} diff --git a/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php b/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php index 61ab982d..14f23c00 100644 --- a/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php +++ b/tests/Unit/Http/SessionHandlers/DatabaseHandlerTest.php @@ -12,8 +12,8 @@ class DatabaseHandlerTest extends TestCase /** * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::__construct - * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::read * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::getQuery + * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::read */ public function testRead() { @@ -25,8 +25,8 @@ class DatabaseHandlerTest extends TestCase } /** - * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::write * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::getCurrentTimestamp + * @covers \Engelsystem\Http\SessionHandlers\DatabaseHandler::write */ public function testWrite() { diff --git a/tests/Unit/Http/SessionServiceProviderTest.php b/tests/Unit/Http/SessionServiceProviderTest.php index 204cfe1e..08f1945a 100644 --- a/tests/Unit/Http/SessionServiceProviderTest.php +++ b/tests/Unit/Http/SessionServiceProviderTest.php @@ -17,8 +17,8 @@ use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface as class SessionServiceProviderTest extends ServiceProviderTest { /** - * @covers \Engelsystem\Http\SessionServiceProvider::register() * @covers \Engelsystem\Http\SessionServiceProvider::getSessionStorage() + * @covers \Engelsystem\Http\SessionServiceProvider::register() */ public function testRegister() { @@ -53,13 +53,13 @@ class SessionServiceProviderTest extends ServiceProviderTest [Session::class], [ NativeSessionStorage::class, - ['options' => ['cookie_httponly' => true, 'name' => 'session'], 'handler' => null] + ['options' => ['cookie_httponly' => true, 'name' => 'session'], 'handler' => null], ], [Session::class], [DatabaseHandler::class], [ NativeSessionStorage::class, - ['options' => ['cookie_httponly' => true, 'name' => 'foobar'], 'handler' => $databaseHandler] + ['options' => ['cookie_httponly' => true, 'name' => 'foobar'], 'handler' => $databaseHandler], ], [Session::class] ) |