From a4f270a9cea041f6aa207e124250caf6fe4787be Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Fri, 2 Jan 2015 18:52:11 +0000 Subject: [PATCH 1/2] Add placeholder app.php for provisioning_api so app is detected --- apps/provisioning_api/appinfo/app.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apps/provisioning_api/appinfo/app.php diff --git a/apps/provisioning_api/appinfo/app.php b/apps/provisioning_api/appinfo/app.php new file mode 100644 index 0000000000..671d668bfa --- /dev/null +++ b/apps/provisioning_api/appinfo/app.php @@ -0,0 +1,23 @@ + + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU AFFERO GENERAL PUBLIC LICENSE for more details. + * + * You should have received a copy of the GNU Affero General Public + * License along with this library. If not, see . + * + */ \ No newline at end of file From 32d95633594547faaf841d90d970bf333a0c9282 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Fri, 2 Jan 2015 19:07:31 +0000 Subject: [PATCH 2/2] Change array element order to fix failing test --- apps/provisioning_api/tests/groupsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/provisioning_api/tests/groupsTest.php b/apps/provisioning_api/tests/groupsTest.php index 5e4800dfef..0fb6e18a3e 100644 --- a/apps/provisioning_api/tests/groupsTest.php +++ b/apps/provisioning_api/tests/groupsTest.php @@ -67,8 +67,8 @@ class Test_Provisioning_Api_Groups extends PHPUnit_Framework_TestCase { $group = uniqid(); \OC_Group::createGroup($group); - \OC_Group::addToGroup($users[1], $group); \OC_Group::addToGroup($users[0], $group); + \OC_Group::addToGroup($users[1], $group); \OC_SubAdmin::createSubAdmin($users[0], $group);