diff --git a/tests/Unit/MetadataResolver/CreateMockedResolver.php b/tests/Unit/MetadataResolver/CreateMockedResolver.php index 0fd1f59..5d07999 100644 --- a/tests/Unit/MetadataResolver/CreateMockedResolver.php +++ b/tests/Unit/MetadataResolver/CreateMockedResolver.php @@ -45,8 +45,8 @@ trait CreateMockedResolver foreach ($responses as $response) { if (is_array($response)) { $response += [ - 1 => [], - 2 => 200 + 1 => $headers, + 2 => $status ]; array_push($mockResponses, new Response($response[2], $response[1], $response[0])); } else {