From a0860532bde809b7f3c85130bbf4fd8ec14f167f Mon Sep 17 00:00:00 2001 From: Stein Magne Bjorklund <steinmb@smbjorklund.com> Date: Mon, 20 Sep 2021 12:17:28 +0200 Subject: [PATCH] Make unit tests pass CI now run unit tests. This should make failing tests pass. --- tests/UtilsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/UtilsTest.php b/tests/UtilsTest.php index 4e336deb..0e84d476 100644 --- a/tests/UtilsTest.php +++ b/tests/UtilsTest.php @@ -115,7 +115,7 @@ final class UtilsTest extends TestCase 'media-type' => '', ], 'Plain text' => [ - 'expected' => 'html', + 'expected' => 'nt', 'media-type' => 'text/plain', ], 'CSS request' => [ @@ -127,11 +127,11 @@ final class UtilsTest extends TestCase 'media-type' => 'application/json', ], 'Illegal JSON' => [ - 'expected' => 'json', + 'expected' => 'html', 'media-type' => 'application/jsons', ], 'Image jpeg' => [ - 'expected' => 'json', + 'expected' => 'html', 'media-type' => 'image/jpeg', ], ]; -- GitLab