add tear down to tests
parent
8ee37118cd
commit
070e950f8a
|
@ -17,6 +17,12 @@ class AuthorizationCodeTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testGetAccessToken()
|
public function testGetAccessToken()
|
||||||
{
|
{
|
||||||
$grant = new \League\OAuth2\Client\Grant\AuthorizationCode();
|
$grant = new \League\OAuth2\Client\Grant\AuthorizationCode();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class RefreshTokenTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testGetAccessToken()
|
public function testGetAccessToken()
|
||||||
{
|
{
|
||||||
$response = m::mock('Guzzle\Http\Message\Response');
|
$response = m::mock('Guzzle\Http\Message\Response');
|
||||||
|
|
|
@ -17,6 +17,12 @@ class AbstractProviderTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException InvalidArgumentException
|
* @expectedException InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -17,6 +17,12 @@ class EventbriteTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class FacebookTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class GithubTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class GoogleTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class InstagramTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class LinkedInTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class MicrosoftTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
|
@ -17,6 +17,12 @@ class VkontakteTest extends \PHPUnit_Framework_TestCase
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
m::close();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testAuthorizationUrl()
|
public function testAuthorizationUrl()
|
||||||
{
|
{
|
||||||
$url = $this->provider->getAuthorizationUrl();
|
$url = $this->provider->getAuthorizationUrl();
|
||||||
|
|
Loading…
Reference in New Issue