From 5c0d7f2ee567524f0c6ab250742a51d57a91f65c Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sat, 3 Jan 2015 15:39:42 +0000 Subject: Create admin group before running provisioning_api tests --- apps/provisioning_api/tests/groupsTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/provisioning_api/tests/groupsTest.php b/apps/provisioning_api/tests/groupsTest.php index 14d6f46dbfc..fb1fe96e9c7 100644 --- a/apps/provisioning_api/tests/groupsTest.php +++ b/apps/provisioning_api/tests/groupsTest.php @@ -27,6 +27,11 @@ class Test_Provisioning_Api_Groups extends PHPUnit_Framework_TestCase { private $users = array(); + public function setUp() { + // These seems to be deleted by another test. + OC_Group::createGroup('admin'); + } + /** * Generates a temp user * @param $num int number of users to generate -- cgit v1.2.3