From 2f06edcee4c52ac1cdfb94c9c1dc5f880dbc1591 Mon Sep 17 00:00:00 2001 From: Travis Swientek Date: Thu, 25 Jul 2013 16:15:20 -0700 Subject: [PATCH] Another attempt to fix TestBroker --- tests/Mailgun/Tests/Connection/TestBroker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Mailgun/Tests/Connection/TestBroker.php b/tests/Mailgun/Tests/Connection/TestBroker.php index bfb5a7e..6d5914e 100644 --- a/tests/Mailgun/Tests/Connection/TestBroker.php +++ b/tests/Mailgun/Tests/Connection/TestBroker.php @@ -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;