diff options
Diffstat (limited to 'ui/tests/selenium/roles/testUserRolesPermissions.php')
-rw-r--r-- | ui/tests/selenium/roles/testUserRolesPermissions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/tests/selenium/roles/testUserRolesPermissions.php b/ui/tests/selenium/roles/testUserRolesPermissions.php index 85d694a68ab..512392dd766 100644 --- a/ui/tests/selenium/roles/testUserRolesPermissions.php +++ b/ui/tests/selenium/roles/testUserRolesPermissions.php @@ -117,6 +117,10 @@ class testUserRolesPermissions extends CWebTest { } public function prepareServiceData() { + // Remove all unnecessary services before proceeding with execution. + DBExecute('DELETE FROM services'); + + // Create services for Service permission checks. CDataHelper::call('service.create', [ [ 'name' => 'Parent 1', |