Ran cs fixer & added testing namespace to psr4 + log > logs
parent
73768b6447
commit
ffe065a05c
|
@ -31,7 +31,8 @@
|
|||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"League\\OAuth2\\Client\\": "src/"
|
||||
"League\\OAuth2\\Client\\": "src/",
|
||||
"LeagueTest\\OAuth2\\Client\\": "tests/src/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
</blacklist>
|
||||
</filter>
|
||||
<logging>
|
||||
<log type="coverage-html" target="build/log/coverage" title="lncd/OAuth-client" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="90"/>
|
||||
<log type="coverage-html" target="build/logs/coverage" title="lncd/OAuth-client" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="90"/>
|
||||
<log type="coverage-text" target="php://stdout" title="lncd/OAuth-client" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="90"/>
|
||||
<log type="coverage-clover" target="build/log/clover.xml"/>
|
||||
<log type="junit" target="build/log/junit.xml" logIncompleteSkipped="false"/>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
|
||||
</logging>
|
||||
</phpunit>
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
namespace LeagueTest\OAuth2\Client\Provider;
|
||||
|
||||
use \Mockery as m;
|
||||
use Zend\Uri\UriFactory;
|
||||
use Guzzle\Service\Client as GuzzleClient;
|
||||
use Guzzle\Http\Client as GuzzleHttp;
|
||||
|
||||
class FacebookTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
@ -47,7 +44,6 @@ class FacebookTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals('/oauth/access_token', $uri['path']);
|
||||
}
|
||||
|
||||
|
||||
public function testGetAccessToken()
|
||||
{
|
||||
$response = m::mock('Guzzle\Http\Message\Response');
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace LeagueTest\OAuth2\Client\Provider;
|
||||
|
||||
use \Mockery as m;
|
||||
use Zend\Uri\UriFactory;
|
||||
|
||||
class GithubTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
@ -45,7 +44,6 @@ class GithubTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals('/login/oauth/access_token', $uri['path']);
|
||||
}
|
||||
|
||||
|
||||
public function testGetAccessToken()
|
||||
{
|
||||
$response = m::mock('Guzzle\Http\Message\Response');
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace LeagueTest\OAuth2\Client\Provider;
|
||||
|
||||
use \Mockery as m;
|
||||
use Zend\Uri\UriFactory;
|
||||
|
||||
class GoogleTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
@ -45,7 +44,6 @@ class GoogleTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals('/o/oauth2/token', $uri['path']);
|
||||
}
|
||||
|
||||
|
||||
public function testGetAccessToken()
|
||||
{
|
||||
$response = m::mock('Guzzle\Http\Message\Response');
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace LeagueTest\OAuth2\Client\Provider;
|
||||
|
||||
use \Mockery as m;
|
||||
use Zend\Uri\UriFactory;
|
||||
|
||||
class LinkedInTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
@ -45,7 +44,6 @@ class LinkedInTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals('/uas/oauth2/accessToken', $uri['path']);
|
||||
}
|
||||
|
||||
|
||||
public function testGetAccessToken()
|
||||
{
|
||||
$response = m::mock('Guzzle\Http\Message\Response');
|
||||
|
|
Loading…
Reference in New Issue