Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit bd355cd

Browse files
author
Brian Retterer
committed
Merge Hotfix 1.12.2
2 parents d9ebd5c + 15913ce commit bd355cd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/Resource/AccountTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,18 @@ public function testAddGroupNonExistent()
363363
self::$account->addGroup(\Stormpath\Resource\Group::instantiate());
364364
}
365365

366+
public function testItCanGetAccessTokensOffAccount()
367+
{
368+
$tokens = self::$account->accessTokens;
369+
$this->assertInstanceOf('Stormpath\Resource\AccessTokenList', $tokens);
370+
}
371+
372+
public function testItCanGetRefreshTokensOffAccount()
373+
{
374+
$tokens = self::$account->refreshTokens;
375+
$this->assertInstanceOf('Stormpath\Resource\RefreshTokenList', $tokens);
376+
}
377+
366378
public function testAddingCustomData()
367379
{
368380
$cd = self::$account->customData;

0 commit comments

Comments
 (0)