aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2015-01-03 15:39:42 +0000
committerTom Needham <tom@owncloud.com>2015-01-03 15:39:42 +0000
commit5c0d7f2ee567524f0c6ab250742a51d57a91f65c (patch)
tree8c2fa8d2720ce8a99e2ad21445b620ed5362b336 /apps
parent97d31946c3d4cfdac46f91385b3d888fde30d934 (diff)
downloadnextcloud-server-5c0d7f2ee567524f0c6ab250742a51d57a91f65c.tar.gz
nextcloud-server-5c0d7f2ee567524f0c6ab250742a51d57a91f65c.zip
Create admin group before running provisioning_api tests
Diffstat (limited to 'apps')
-rw-r--r--apps/provisioning_api/tests/groupsTest.php5
1 files changed, 5 insertions, 0 deletions
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