Increase unit test code coverage (now 21%)

This commit is contained in:
Laurent Destailleur
2010-10-26 19:47:19 +00:00
parent 722943f149
commit 43ce5a638e
20 changed files with 365 additions and 159 deletions

View File

@@ -40,14 +40,15 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1;
/**
* @xcovers DoliDb
* @xcovers Translate
* @xcovers Conf
* @xcovers Interfaces
* @xcovers CommonObject
* @xcovers UserGroup
*
* @backupGlobals disabled
* @backupStaticAttributes enabled
* @covers DoliDb
* @covers Translate
* @covers Conf
* @covers Interfaces
* @covers CommonObject
* @covers UserGroup
* @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
*/
class UserGroupTest extends PHPUnit_Framework_TestCase