Browse Source

Minor - fixed one test

ywarnier 14 years ago
parent
commit
3afd179067
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/main/inc/lib/usermanager.lib.test.php

+ 2 - 1
tests/main/inc/lib/usermanager.lib.test.php

@@ -168,7 +168,8 @@ class TestUserManager extends UnitTestCase {
 
 	function testGetExtraUserData() {
 		$res=UserManager::get_extra_user_data(1, null,null,null);
-		$this->assertFalse($res);
+		$this->assertTrue(is_array($res),'Somehow there were no visible fields for user 1');
+        //since Chamilo 1.8.8 we always have 3 visible fields for notifications
 	}
 
 	function testGetExtraUserDataByField() {