aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/tests/Notification/BackgroundJobTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/tests/Notification/BackgroundJobTest.php')
-rw-r--r--apps/updatenotification/tests/Notification/BackgroundJobTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php
index 768000c70e6..09b1cb06d5a 100644
--- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php
+++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php
@@ -43,17 +43,17 @@ use Test\TestCase;
class BackgroundJobTest extends TestCase {
- /** @var IConfig|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IConfig|\PHPUnit\Framework\MockObject\MockObject */
protected $config;
- /** @var IManager|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IManager|\PHPUnit\Framework\MockObject\MockObject */
protected $notificationManager;
- /** @var IGroupManager|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject */
protected $groupManager;
- /** @var IAppManager|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IAppManager|\PHPUnit\Framework\MockObject\MockObject */
protected $appManager;
- /** @var IClientService|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IClientService|\PHPUnit\Framework\MockObject\MockObject */
protected $client;
- /** @var Installer|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var Installer|\PHPUnit\Framework\MockObject\MockObject */
protected $installer;
protected function setUp(): void {
@@ -69,7 +69,7 @@ class BackgroundJobTest extends TestCase {
/**
* @param array $methods
- * @return BackgroundJob|\PHPUnit_Framework_MockObject_MockObject
+ * @return BackgroundJob|\PHPUnit\Framework\MockObject\MockObject
*/
protected function getJob(array $methods = []) {
if (empty($methods)) {
@@ -427,7 +427,7 @@ class BackgroundJobTest extends TestCase {
/**
* @param string[] $userIds
- * @return IUser[]|\PHPUnit_Framework_MockObject_MockObject[]
+ * @return IUser[]|\PHPUnit\Framework\MockObject\MockObject[]
*/
protected function getUsers(array $userIds): array {
$users = [];
@@ -443,7 +443,7 @@ class BackgroundJobTest extends TestCase {
/**
* @param string $gid
- * @return \OCP\IGroup|\PHPUnit_Framework_MockObject_MockObject
+ * @return \OCP\IGroup|\PHPUnit\Framework\MockObject\MockObject
*/
protected function getGroup(string $gid) {
$group = $this->createMock(IGroup::class);