Skip to content
Snippets Groups Projects
Commit a0860532 authored by Stein Magne Bjorklund's avatar Stein Magne Bjorklund
Browse files

Make unit tests pass

CI now run unit tests. This should make failing tests pass.
parent b29ce011
No related branches found
No related tags found
1 merge request!16Resolve "Introduce PSR-4 autoloading"
...@@ -115,7 +115,7 @@ final class UtilsTest extends TestCase ...@@ -115,7 +115,7 @@ final class UtilsTest extends TestCase
'media-type' => '', 'media-type' => '',
], ],
'Plain text' => [ 'Plain text' => [
'expected' => 'html', 'expected' => 'nt',
'media-type' => 'text/plain', 'media-type' => 'text/plain',
], ],
'CSS request' => [ 'CSS request' => [
...@@ -127,11 +127,11 @@ final class UtilsTest extends TestCase ...@@ -127,11 +127,11 @@ final class UtilsTest extends TestCase
'media-type' => 'application/json', 'media-type' => 'application/json',
], ],
'Illegal JSON' => [ 'Illegal JSON' => [
'expected' => 'json', 'expected' => 'html',
'media-type' => 'application/jsons', 'media-type' => 'application/jsons',
], ],
'Image jpeg' => [ 'Image jpeg' => [
'expected' => 'json', 'expected' => 'html',
'media-type' => 'image/jpeg', 'media-type' => 'image/jpeg',
], ],
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment