引数のheaderとstatusを使用する

This commit is contained in:
eai04191 2019-08-22 17:46:37 +09:00
parent 9bd6b23c05
commit 0522270c1c
1 changed files with 2 additions and 2 deletions

View File

@ -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 {