mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
ease testing: CreateTestOrganization returns org object
This commit is contained in:
@@ -785,6 +785,7 @@ class ItopDataTestCase extends ItopTestCase
|
||||
// Create a specific organization for the tests
|
||||
$oOrg = $this->CreateOrganization('UnitTestOrganization');
|
||||
$this->iTestOrgId = $oOrg->GetKey();
|
||||
return $oOrg;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user