Create admin group before running provisioning_api tests

This commit is contained in:
Tom Needham 2015-01-03 15:39:42 +00:00
parent 97d31946c3
commit 5c0d7f2ee5

View file

@ -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