Skip to content

Commit 73a6feb

Browse files
committed
fixup! Move deprecated aliases over to new registration
1 parent 69eefad commit 73a6feb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/lib/User/UserTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace Test\User;
1111

12+
use OC\AllConfig;
1213
use OC\Hooks\PublicEmitter;
1314
use OC\User\User;
1415
use OCP\Comments\ICommentsManager;
@@ -560,11 +561,11 @@ public function testDeleteHooks($result, $expectedHooks) {
560561

561562
$this->overwriteService('NotificationManager', $notificationManager);
562563
$this->overwriteService('CommentsManager', $commentsManager);
563-
$this->overwriteService('AllConfig', $config);
564+
$this->overwriteService(AllConfig::class, $config);
564565

565566
$this->assertSame($result, $user->delete());
566567

567-
$this->restoreService('AllConfig');
568+
$this->restoreService(AllConfig::class);
568569
$this->restoreService('CommentsManager');
569570
$this->restoreService('NotificationManager');
570571

0 commit comments

Comments
 (0)