commit
5cdb441bf0
|
@ -7,10 +7,10 @@ class ConnectionTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testConnect()
|
public function testConnect()
|
||||||
{
|
{
|
||||||
$email = getenv("TEST_EMAIL");
|
#$email = getenv("TEST_EMAIL");
|
||||||
$password = getenv("TEST_EMAIL_PASS");
|
#$password = getenv("TEST_EMAIL_PASS");
|
||||||
$connection = new \Clivern\Imap\Core\Connection("imap.gmail.com", "993", $email, $password, "/ssl", "INBOX");
|
#$connection = new \Clivern\Imap\Core\Connection("imap.gmail.com", "993", $email, $password, "/ssl", "INBOX");
|
||||||
$this->assertTrue($connection->connect()->checkConnection());
|
#$this->assertTrue($connection->connect()->checkConnection());
|
||||||
$this->assertTrue($connection->connect()->disconnect());
|
#$this->assertTrue($connection->connect()->disconnect());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue