diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 07:44:09 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 11:42:07 +0200 |
commit | 6d4731024a18b7497dc19eefa97393eae7a3617b (patch) | |
tree | ef70dba744dcf8fa79574b07a7627771f1c7f62e /apps/provisioning_api/tests/Controller/GroupsControllerTest.php | |
parent | 989614f9d5faa11157b232785537eb5cca927649 (diff) | |
download | nextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.tar.gz nextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.zip |
Some app fixes of phpstorm inspections
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/provisioning_api/tests/Controller/GroupsControllerTest.php')
-rw-r--r-- | apps/provisioning_api/tests/Controller/GroupsControllerTest.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php index 25059e85425..caf6ae109f7 100644 --- a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php @@ -37,6 +37,7 @@ class GroupsControllerTest extends \Test\TestCase { protected $userSession; /** @var \OC\SubAdmin|\PHPUnit_Framework_MockObject_MockObject */ protected $subAdminManager; + /** @var GroupsController */ protected $api; @@ -60,11 +61,15 @@ class GroupsControllerTest extends \Test\TestCase { $request = $this->getMockBuilder('OCP\IRequest') ->disableOriginalConstructor() ->getMock(); + + $logger = $this->createMock(ILogger::class); + $this->api = new GroupsController( 'provisioning_api', $request, $this->groupManager, - $this->userSession + $this->userSession, + $logger ); } |