summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests/Controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-11 21:32:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-12 13:55:19 +0200
commit234b510652d117bb3ef9ef3b6315db3a2c2eb91b (patch)
tree880cec2bf4fe4846eff9fa5aa68d2671fb0495be /apps/federation/tests/Controller
parent138f47a1b980aaceb116b256b8ccf14f523e7e67 (diff)
downloadnextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.tar.gz
nextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.zip
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/federation/tests/Controller')
-rw-r--r--apps/federation/tests/Controller/OCSAuthAPIControllerTest.php16
-rw-r--r--apps/federation/tests/Controller/SettingsControllerTest.php6
2 files changed, 11 insertions, 11 deletions
diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
index 3617e4c2467..96987e52d72 100644
--- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
+++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
@@ -39,25 +39,25 @@ use Test\TestCase;
class OCSAuthAPIControllerTest extends TestCase {
- /** @var \PHPUnit_Framework_MockObject_MockObject|IRequest */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|IRequest */
private $request;
- /** @var \PHPUnit_Framework_MockObject_MockObject|ISecureRandom */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|ISecureRandom */
private $secureRandom;
- /** @var \PHPUnit_Framework_MockObject_MockObject|JobList */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|JobList */
private $jobList;
- /** @var \PHPUnit_Framework_MockObject_MockObject|TrustedServers */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|TrustedServers */
private $trustedServers;
- /** @var \PHPUnit_Framework_MockObject_MockObject|DbHandler */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|DbHandler */
private $dbHandler;
- /** @var \PHPUnit_Framework_MockObject_MockObject|ILogger */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|ILogger */
private $logger;
- /** @var \PHPUnit_Framework_MockObject_MockObject|ITimeFactory */
+ /** @var \PHPUnit\Framework\MockObject\MockObject|ITimeFactory */
private $timeFactory;
@@ -146,7 +146,7 @@ class OCSAuthAPIControllerTest extends TestCase {
$url = 'url';
$token = 'token';
- /** @var OCSAuthAPIController | \PHPUnit_Framework_MockObject_MockObject $ocsAuthApi */
+ /** @var OCSAuthAPIController | \PHPUnit\Framework\MockObject\MockObject $ocsAuthApi */
$ocsAuthApi = $this->getMockBuilder('OCA\Federation\Controller\OCSAuthAPIController')
->setConstructorArgs(
[
diff --git a/apps/federation/tests/Controller/SettingsControllerTest.php b/apps/federation/tests/Controller/SettingsControllerTest.php
index 90db0b58035..8677d4bdab2 100644
--- a/apps/federation/tests/Controller/SettingsControllerTest.php
+++ b/apps/federation/tests/Controller/SettingsControllerTest.php
@@ -35,13 +35,13 @@ class SettingsControllerTest extends TestCase {
/** @var SettingsController */
private $controller;
- /** @var \PHPUnit_Framework_MockObject_MockObject | \OCP\IRequest */
+ /** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IRequest */
private $request;
- /** @var \PHPUnit_Framework_MockObject_MockObject | \OCP\IL10N */
+ /** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\IL10N */
private $l10n;
- /** @var \PHPUnit_Framework_MockObject_MockObject | \OCA\Federation\TrustedServers */
+ /** @var \PHPUnit\Framework\MockObject\MockObject | \OCA\Federation\TrustedServers */
private $trustedServers;
protected function setUp(): void {