mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 13:06:02 +03:00
19 lines
425 B
PHP
19 lines
425 B
PHP
<?PHP
|
|
namespace Mailgun\Tests\Connection;
|
|
|
|
use Mailgun\Tests\MailgunClientTest;
|
|
|
|
class ConnectionTest extends \Mailgun\Tests\MailgunTestCase{
|
|
|
|
private $client;
|
|
|
|
public function setUp(){
|
|
$this->client = new MailgunClientTest("My-Super-Awesome-API-Key", "samples.mailgun.org", false);
|
|
}
|
|
public function testNewClientConnection(){
|
|
$result = $this->client->validateCredentials();
|
|
$this->assertTrue($result);
|
|
}
|
|
}
|
|
|
|
?>
|