From 0522270c1c50bc3e822f148653244961c1c1f934 Mon Sep 17 00:00:00 2001 From: eai04191 Date: Thu, 22 Aug 2019 17:46:37 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E6=95=B0=E3=81=AEheader=E3=81=A8statu?= =?UTF-8?q?s=E3=82=92=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Unit/MetadataResolver/CreateMockedResolver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {