diff --git a/test/application/privUITransactionFileTest.php b/test/application/privUITransactionFileTest.php index f7960cbe61..cbdf782b29 100644 --- a/test/application/privUITransactionFileTest.php +++ b/test/application/privUITransactionFileTest.php @@ -26,6 +26,7 @@ use Combodo\iTop\Test\UnitTest\ItopDataTestCase; * * @covers utils * @group sampleDataNeeded + * @group defaultProfiles */ class privUITransactionFileTest extends ItopDataTestCase { diff --git a/test/core/CMDBSource/TransactionsTest.php b/test/core/CMDBSource/TransactionsTest.php index e7c4a11e15..00f9872d81 100644 --- a/test/core/CMDBSource/TransactionsTest.php +++ b/test/core/CMDBSource/TransactionsTest.php @@ -18,6 +18,7 @@ use MetaModel; * @backupGlobals disabled * * @group itopRequestMgmt + * @group specificOrgInSampleData * Class TransactionsTest * * @package Combodo\iTop\Test\UnitTest\Core @@ -248,4 +249,4 @@ class TransactionsTest extends ItopTestCase "History 13" => ['iFailAt' => 15, 'bIsModified' => true], ]; } -} \ No newline at end of file +} diff --git a/test/core/OQLParserTest.php b/test/core/OQLParserTest.php index afeddc6641..63cd2c6269 100644 --- a/test/core/OQLParserTest.php +++ b/test/core/OQLParserTest.php @@ -29,6 +29,7 @@ class OQLParserTest extends ItopDataTestCase * @group iTopChangeMgt * @group itopConfigMgmt * @group itopRequestMgmt + * @group specificOrgInSampleData * @dataProvider NestedQueryProvider * * @param $sQuery diff --git a/test/core/UserRightsTest.php b/test/core/UserRightsTest.php index 0c54ebf8f4..c3043d85e1 100644 --- a/test/core/UserRightsTest.php +++ b/test/core/UserRightsTest.php @@ -40,6 +40,7 @@ use utils; /** * @group itopRequestMgmt * @group userRights + * @group defaultProfiles * * @runTestsInSeparateProcesses * @preserveGlobalState disabled @@ -486,7 +487,7 @@ class UserRightsTest extends ItopDataTestCase // logout $_SESSION = []; } - + public function NonAdminCanListOwnProfilesProvider(): array { return [ @@ -495,7 +496,7 @@ class UserRightsTest extends ItopDataTestCase ]; } /** - *@dataProvider NonAdminCannotListAdminProfilesProvider + *@dataProvider NonAdminCannotListAdminProfilesProvider */ public function testNonAdminCannotListAdminProfiles($bHideAdministrators, $iExpectedCount) { @@ -518,7 +519,7 @@ class UserRightsTest extends ItopDataTestCase // logout $_SESSION = []; } - + public function NonAdminCannotListAdminProfilesProvider(): array { return [ diff --git a/test/synchro/DataSynchroTest.php b/test/synchro/DataSynchroTest.php index c3dea91f48..29af23830f 100644 --- a/test/synchro/DataSynchroTest.php +++ b/test/synchro/DataSynchroTest.php @@ -30,6 +30,7 @@ use utils; * * @package Combodo\iTop\Test\UnitTest\Synchro * @group dataSynchro + * @group defaultProfiles * * @runTestsInSeparateProcesses * @preserveGlobalState disabled diff --git a/test/webservices/RestTest.php b/test/webservices/RestTest.php index 8e3c95018a..d71cefa86d 100644 --- a/test/webservices/RestTest.php +++ b/test/webservices/RestTest.php @@ -9,6 +9,7 @@ use Exception; /** * @group itopRequestMgmt * @group restApi + * @group defaultProfiles * * @runTestsInSeparateProcesses * @preserveGlobalState disabled