increase test coverage
parent
f4ddf1f34d
commit
64250a71d9
|
@ -90,4 +90,15 @@ class GoogleTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals('mock_email', $this->provider->getUserEmail($token));
|
||||
$this->assertEquals('mock_email', $user->email);
|
||||
}
|
||||
|
||||
public function testGetHostedDomain()
|
||||
{
|
||||
$this->assertEquals('mock_domain', $this->provider->getHostedDomain());
|
||||
}
|
||||
|
||||
public function testSetHostedDomain()
|
||||
{
|
||||
$this->provider->setHostedDomain('changed_domain');
|
||||
$this->assertEquals('changed_domain', $this->provider->hostedDomain);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue