mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-02 20:56:18 +03:00
Another attempt to fix TestBroker
This commit is contained in:
parent
b89cf7ae62
commit
2f06edcee4
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ class TestBroker extends HttpBroker{
|
|||
public function responseHandler($endpointUrl, $httpResponseCode = 200){
|
||||
if($httpResponseCode === 200){
|
||||
$result = new \stdClass();
|
||||
$result->http_response_body = new \stdClass();
|
||||
$jsonResponseData = json_decode('{"message": "Some JSON Response Data"}');
|
||||
foreach($jsonResponseData as $key => $value){
|
||||
$result->http_response_body->$key = $value;
|
||||
|
|
Loading…
Add table
Reference in a new issue