diff --git a/tests/Mailgun/Tests/Connection/ConnectionTest.php b/tests/Mailgun/Tests/Connection/ConnectionTest.php index 40b0192..1068948 100644 --- a/tests/Mailgun/Tests/Connection/ConnectionTest.php +++ b/tests/Mailgun/Tests/Connection/ConnectionTest.php @@ -1,7 +1,7 @@ client = new MailgunTest("My-Super-Awesome-API-Key", "samples.mailgun.org", false); + $this->client = new Mailgun("My-Super-Awesome-API-Key", "samples.mailgun.org", false); } } diff --git a/tests/Mailgun/Tests/Lists/OptInHandlerTest.php b/tests/Mailgun/Tests/Lists/OptInHandlerTest.php index 735d1b5..ef48963 100644 --- a/tests/Mailgun/Tests/Lists/OptInHandlerTest.php +++ b/tests/Mailgun/Tests/Lists/OptInHandlerTest.php @@ -1,7 +1,7 @@ client = new MailgunTest("My-Super-Awesome-API-Key"); + $this->client = new Mailgun("My-Super-Awesome-API-Key"); $this->optInHandler = $this->client->OptInHandler(); } diff --git a/tests/Mailgun/Tests/Messages/BatchMessageTest.php b/tests/Mailgun/Tests/Messages/BatchMessageTest.php index 4f175c0..f8e9d5a 100644 --- a/tests/Mailgun/Tests/Messages/BatchMessageTest.php +++ b/tests/Mailgun/Tests/Messages/BatchMessageTest.php @@ -1,7 +1,7 @@ client = new MailgunTest("My-Super-Awesome-API-Key"); + $this->client = new Mailgun("My-Super-Awesome-API-Key"); } public function testBlankInstantiation(){ $message = $this->client->BatchMessage($this->sampleDomain); diff --git a/tests/Mailgun/Tests/Messages/MessageBuilderTest.php b/tests/Mailgun/Tests/Messages/MessageBuilderTest.php index 18e89fe..c48a982 100644 --- a/tests/Mailgun/Tests/Messages/MessageBuilderTest.php +++ b/tests/Mailgun/Tests/Messages/MessageBuilderTest.php @@ -1,13 +1,13 @@ client = new MailgunTest("My-Super-Awesome-API-Key", "samples.mailgun.org", false); + $this->client = new Mailgun("My-Super-Awesome-API-Key", "samples.mailgun.org", false); } public function testBlankInstantiation(){ $message = $this->client->MessageBuilder(); diff --git a/tests/Mailgun/Tests/Messages/StandardMessageTest.php b/tests/Mailgun/Tests/Messages/StandardMessageTest.php index 6a663b2..d598b81 100644 --- a/tests/Mailgun/Tests/Messages/StandardMessageTest.php +++ b/tests/Mailgun/Tests/Messages/StandardMessageTest.php @@ -1,7 +1,7 @@ client = new MailgunTest("My-Super-Awesome-API-Key"); + $this->client = new Mailgun("My-Super-Awesome-API-Key"); } public function testSendMIMEMessage(){ $customMime = "Received: by luna.mailgun.net with SMTP mgrt 8728174999085; Mon, 10 Jun 2013 09:50:58 +0000 diff --git a/tests/Mailgun/Tests/Connection/TestBroker.php b/tests/Mailgun/Tests/Mock/Connection/TestBroker.php similarity index 95% rename from tests/Mailgun/Tests/Connection/TestBroker.php rename to tests/Mailgun/Tests/Mock/Connection/TestBroker.php index 234fb4b..9ce0ae2 100644 --- a/tests/Mailgun/Tests/Connection/TestBroker.php +++ b/tests/Mailgun/Tests/Mock/Connection/TestBroker.php @@ -1,9 +1,9 @@