diff options
Diffstat (limited to 'tests/unit/Security/TUserManagerTest.php')
-rw-r--r-- | tests/unit/Security/TUserManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Security/TUserManagerTest.php b/tests/unit/Security/TUserManagerTest.php index 146e590b..fff14912 100644 --- a/tests/unit/Security/TUserManagerTest.php +++ b/tests/unit/Security/TUserManagerTest.php @@ -121,10 +121,10 @@ class TUserManagerTest extends PHPUnit_Framework_TestCase { $userManager=new TUserManager (); $userManager->init (self::$config); $guest=$userManager->getUser(null); - self::assertInstanceOf('TUser', $guest); + self::assertInstanceOf('Prado\\Security\\TUser', $guest); self::assertTrue($guest->getIsGuest()); $user=$userManager->getUser('joe'); - self::assertInstanceOf('TUser', $user); + self::assertInstanceOf('Prado\\Security\\TUser', $user); self::assertEquals('joe', $user->getName()); self::assertEquals(array ('Writer'), $user->getRoles()); self::assertFalse($user->getIsGuest()); |