💚 use new ci validation

This commit is contained in:
odain
2020-10-09 09:31:54 +02:00
parent 1f53757318
commit df5aacca42
14 changed files with 114 additions and 593 deletions

View File

@@ -27,11 +27,26 @@
namespace Combodo\iTop\Test\UnitTest\Core;
use Combodo\iTop\Test\UnitTest\ItopDataTestCase;
use PHPUnit\Framework\TestCase;
use UserRights;
/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
* @backupGlobals disabled
*/
class UserRightsTest extends ItopDataTestCase
{
public function setUp()
{
parent::setUp(); // TODO: Change the autogenerated stub
try{
self::CreateUser('admin', 1);
}
catch(\CoreCannotSaveObjectException $e)
{
}
}
public static $aClasses = array(
'FunctionalCI' => array('class' => 'FunctionalCI', 'attcode' => 'name'),