Refactoring tests

This commit is contained in:
Gabriel Caruso
2017-12-06 14:33:46 -02:00
parent 81c2c17fd7
commit c378f6dfbf
9 changed files with 18 additions and 18 deletions

View File

@@ -95,7 +95,7 @@ class AuthorizationCacheTest extends TestCase
{
$result = AuthorizationCache::pull(array('cache.enabled' => true, 'cache.FileName' => AuthorizationCacheTest::CACHE_FILE), 'clientId');
$this->assertNotNull($result);
$this->assertTrue(is_array($result));
$this->assertInternalType('array', $result);
$this->assertEquals('clientId', $result['clientId']);
$this->assertEquals('accessToken', $result['accessTokenEncrypted']);
$this->assertEquals('tokenCreateTime', $result['tokenCreateTime']);