Skip to content

Commit 2d48cfc

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Update http_client.rst Test Examples
2 parents ea27c55 + 48aadc5 commit 2d48cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http_client.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2340,7 +2340,7 @@ test it in a real application::
23402340
);
23412341
$this->assertSame($expectedRequestData, $mockResponse->getRequestOptions()['body']);
23422342

2343-
$this->assertSame($responseData, $expectedResponseData);
2343+
$this->assertSame($expectedResponseData, $responseData);
23442344
}
23452345
}
23462346

@@ -2373,7 +2373,7 @@ test. Then, save that information as a ``.har`` file somewhere in your applicati
23732373
$responseData = $service->createArticle($requestData);
23742374

23752375
// Assert
2376-
$this->assertSame($responseData, 'the expected response');
2376+
$this->assertSame('the expected response', $responseData);
23772377
}
23782378
}
23792379

0 commit comments

Comments
 (0)