File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testPut()
5858 $ this ->assertEquals ("application/json " , $ headers ["Content-Type " ][0 ]);
5959
6060 $ body = json_decode ($ response ->getBody ());
61- $ this ->assertEquals ("Testing a PUT request. " , json_decode ( $ body ->json ) ->{"X-Put-Test " });
61+ $ this ->assertEquals ("Testing a PUT request. " , $ body ->json ->{"X-Put-Test " });
6262 }
6363
6464 public function testPatch ()
@@ -73,7 +73,7 @@ public function testPatch()
7373 $ this ->assertEquals ("application/json " , $ headers ["Content-Type " ][0 ]);
7474
7575 $ body = json_decode ($ response ->getBody ());
76- $ this ->assertEquals ("Testing a PATCH request. " , json_decode ( $ body ->json ) ->{"X-Patch-Test " });
76+ $ this ->assertEquals ("Testing a PATCH request. " , $ body ->json ->{"X-Patch-Test " });
7777 }
7878
7979 public function testDelete ()
You can’t perform that action at this time.
0 commit comments