aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Traits/ClientServiceTrait.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Traits/ClientServiceTrait.php')
-rw-r--r--tests/lib/Traits/ClientServiceTrait.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Traits/ClientServiceTrait.php b/tests/lib/Traits/ClientServiceTrait.php
index cab28e76dba..e9e9787d734 100644
--- a/tests/lib/Traits/ClientServiceTrait.php
+++ b/tests/lib/Traits/ClientServiceTrait.php
@@ -26,9 +26,9 @@ use OCP\Http\Client\IClientService;
use OCP\Http\Client\IResponse;
trait ClientServiceTrait {
- /** @var IClientService|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IClientService|\PHPUnit\Framework\MockObject\MockObject */
private $clientService;
- /** @var IClient|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IClient|\PHPUnit\Framework\MockObject\MockObject */
private $client;
private $expectedGetRequests = [];
private $expectedPostRequests = [];
@@ -37,7 +37,7 @@ trait ClientServiceTrait {
* Wrapper to be forward compatible to phpunit 5.4+
*
* @param string $originalClassName
- * @return \PHPUnit_Framework_MockObject_MockObject
+ * @return \PHPUnit\Framework\MockObject\MockObject
*/
abstract protected function createMock($originalClassName);
@@ -112,7 +112,7 @@ trait ClientServiceTrait {
}
/**
- * @return IClientService|\PHPUnit_Framework_MockObject_MockObject
+ * @return IClientService|\PHPUnit\Framework\MockObject\MockObject
*/
protected function getClientService() {
return $this->clientService;