Mise à jour des librairies vendor
This commit is contained in:
@@ -20,8 +20,9 @@ namespace Google\Auth\Tests;
|
||||
use google\appengine\api\app_identity\AppIdentityService;
|
||||
// included from tests\mocks\AppIdentityService.php
|
||||
use Google\Auth\Credentials\AppIdentityCredentials;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class AppIdentityCredentialsOnAppEngineTest extends \PHPUnit_Framework_TestCase
|
||||
class AppIdentityCredentialsOnAppEngineTest extends TestCase
|
||||
{
|
||||
public function testIsFalseByDefault()
|
||||
{
|
||||
@@ -33,9 +34,15 @@ class AppIdentityCredentialsOnAppEngineTest extends \PHPUnit_Framework_TestCase
|
||||
$_SERVER['SERVER_SOFTWARE'] = 'Google App Engine';
|
||||
$this->assertTrue(AppIdentityCredentials::onAppEngine());
|
||||
}
|
||||
|
||||
public function testIsTrueWhenAppEngineRuntimeIsPhp()
|
||||
{
|
||||
$_SERVER['APPENGINE_RUNTIME'] = 'php';
|
||||
$this->assertTrue(AppIdentityCredentials::onAppEngine());
|
||||
}
|
||||
}
|
||||
|
||||
class AppIdentityCredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase
|
||||
class AppIdentityCredentialsGetCacheKeyTest extends TestCase
|
||||
{
|
||||
public function testShouldBeEmpty()
|
||||
{
|
||||
@@ -44,7 +51,7 @@ class AppIdentityCredentialsGetCacheKeyTest extends \PHPUnit_Framework_TestCase
|
||||
}
|
||||
}
|
||||
|
||||
class AppIdentityCredentialsFetchAuthTokenTest extends \PHPUnit_Framework_TestCase
|
||||
class AppIdentityCredentialsFetchAuthTokenTest extends TestCase
|
||||
{
|
||||
public function testShouldBeEmptyIfNotOnAppEngine()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user