Skip to content

Commit 769c172

Browse files
[HttpFoundation] Fix tests
1 parent 9c3a3e2 commit 769c172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/RequestTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,11 +588,11 @@ public static function getFormatToMimeTypeMapProvider()
588588
['form', ['application/x-www-form-urlencoded', 'multipart/form-data']],
589589
['rss', ['application/rss+xml']],
590590
['soap', ['application/soap+xml']],
591-
['html', ['application/xhtml+xml']],
591+
['html', ['text/html', 'application/xhtml+xml']],
592592
['problem', ['application/problem+json']],
593593
['hal', ['application/hal+json', 'application/hal+xml']],
594594
['jsonapi', ['application/vnd.api+json']],
595-
['yaml', ['application/x-yaml', 'text/yaml']],
595+
['yaml', ['text/yaml', 'application/x-yaml']],
596596
['wbxml', ['application/vnd.wap.wbxml']],
597597
];
598598
}

0 commit comments

Comments
 (0)