From c203558234077e56b918696ab0db7ad5ec6f6190 Mon Sep 17 00:00:00 2001 From: Iain Cambridge Date: Tue, 13 May 2014 16:32:14 +0100 Subject: [PATCH] Fix php 5.3 compat --- tests/Mailgun/Tests/Messages/BatchMessageTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Mailgun/Tests/Messages/BatchMessageTest.php b/tests/Mailgun/Tests/Messages/BatchMessageTest.php index 8e4e5ae..44119d7 100644 --- a/tests/Mailgun/Tests/Messages/BatchMessageTest.php +++ b/tests/Mailgun/Tests/Messages/BatchMessageTest.php @@ -121,28 +121,28 @@ class BatchMessageTest extends \Mailgun\Tests\MailgunTestCase{ $this->setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters"); $message = $this->client->BatchMessage($this->sampleDomain); - $message->sendMessage([1,2,3]); + $message->sendMessage(array(1,2,3)); } public function testInvalidMissingRequiredMIMEParametersExceptionGetsFlungNoTo() { $this->setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters"); $message = $this->client->BatchMessage($this->sampleDomain); - $message->sendMessage(["from" => 1, 2,3]); + $message->sendMessage(array("from" => 1, 2,3)); } public function testInvalidMissingRequiredMIMEParametersExceptionGetsFlungNoSubject() { $this->setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters"); $message = $this->client->BatchMessage($this->sampleDomain); - $message->sendMessage(["from" => 1, "to" => 2,3]); + $message->sendMessage(array("from" => 1, "to" => 2,3)); } public function testInvalidMissingRequiredMIMEParametersExceptionGetsFlungNoTextOrHtml() { $this->setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters"); $message = $this->client->BatchMessage($this->sampleDomain); - $message->sendMessage(["from" => 1,"to" => 2,"subject" => 3]); + $message->sendMessage(array("from" => 1,"to" => 2,"subject" => 3)); } } ?>