File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
tests/lib/AppFramework/Http Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,12 @@ class HttpTest extends \Test\TestCase {
2020 #[Test]
2121 #[DataProvider('statusHeaderProvider ' )]
2222 public function testGetStatusHeader (string $ protocol , int $ statusCode , string $ expectedHeader ): void {
23- $ http = new Http ($ protocol );
24- $ header = $ http ->getStatusHeader ($ statusCode );
25- $ this ->assertEquals ($ expectedHeader , $ header );
26- }
23+ $ http = new Http ($ protocol );
24+ $ header = $ http ->getStatusHeader ($ statusCode );
25+ $ this ->assertEquals ($ expectedHeader , $ header );
26+ }
2727
28- public static function statusHeaderProvider (): array
29- {
28+ public static function statusHeaderProvider (): array {
3029 return [
3130 // Standard OK
3231 ['HTTP/1.1 ' , Http::STATUS_OK , 'HTTP/1.1 200 OK ' ],
You can’t perform that action at this time.
0 commit comments