Explorar el Código

Minor - fixed one test

ywarnier hace 14 años
padre
commit
3afd179067
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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() {