Add test to cover Provider\Microsoft::urlAuthorize()
parent
954d043409
commit
f202e423d9
|
@ -32,6 +32,14 @@ class MicrosoftTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->assertNotNull($this->provider->state);
|
$this->assertNotNull($this->provider->state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testUrlAuthorize()
|
||||||
|
{
|
||||||
|
$url = $this->provider->urlAuthorize();
|
||||||
|
$uri = parse_url($url);
|
||||||
|
|
||||||
|
$this->assertEquals('/oauth20_authorize.srf', $uri['path']);
|
||||||
|
}
|
||||||
|
|
||||||
public function testUrlAccessToken()
|
public function testUrlAccessToken()
|
||||||
{
|
{
|
||||||
$url = $this->provider->urlAccessToken();
|
$url = $this->provider->urlAccessToken();
|
||||||
|
|
Loading…
Reference in New Issue