File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99
1010namespace Test \User ;
1111
12+ use OC \AllConfig ;
1213use OC \Hooks \PublicEmitter ;
1314use OC \User \User ;
1415use 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
You can’t perform that action at this time.
0 commit comments