Create admin group before running provisioning_api tests
This commit is contained in:
parent
97d31946c3
commit
5c0d7f2ee5
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ class Test_Provisioning_Api_Groups extends PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
private $users = array();
|
private $users = array();
|
||||||
|
|
||||||
|
public function setUp() {
|
||||||
|
// These seems to be deleted by another test.
|
||||||
|
OC_Group::createGroup('admin');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates a temp user
|
* Generates a temp user
|
||||||
* @param $num int number of users to generate
|
* @param $num int number of users to generate
|
||||||
|
|
Loading…
Reference in a new issue