summaryrefslogtreecommitdiff
path: root/tests/unit/Security/TUserManagerTest.php
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-10 19:50:41 +0200
committerDavid <ottodavid@gmx.net>2015-08-11 08:34:39 +0200
commit606874e9a883ae547df198498fce6fca7b735466 (patch)
tree2f9e772926ee22e715411e79acd8e0adfe1de2cd /tests/unit/Security/TUserManagerTest.php
parentac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (diff)
Fix TProperyValue::ensureEnum and some unit tests class names
Diffstat (limited to 'tests/unit/Security/TUserManagerTest.php')
-rw-r--r--tests/unit/Security/TUserManagerTest.php4
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());