@@ -5529,8 +5529,8 @@ public function testParentDownloadAttributeInherited(): void {
55295529 $ owner = $ this ->createMock (IUser::class);
55305530 $ storage = $ this ->createMock (SharedStorage::class);
55315531 $ originalShare = $ this ->createMock (IShare::class);
5532- $ attributes = $ this ->createMock (\ OCP \ Share \IAttributes ::class);
5533- $ shareAttributes = $ this ->createMock (\ OCP \ Share \IAttributes ::class);
5532+ $ attributes = $ this ->createMock (IShareAttributes ::class);
5533+ $ shareAttributes = $ this ->createMock (IShareAttributes ::class);
55345534
55355535 $ share ->method ('getSharedBy ' )->willReturn ('sharedByUser ' );
55365536 $ share ->method ('getNodeId ' )->willReturn (42 );
@@ -5565,7 +5565,7 @@ public function testFederatedStorageRespectsUserChoice(): void {
55655565 $ node = $ this ->createMock (File::class);
55665566 $ userFolder = $ this ->createMock (Folder::class);
55675567 $ owner = $ this ->createMock (IUser::class);
5568- $ storage = $ this ->createMock (\ OCA \ Files_Sharing \ External \ Storage::class);
5568+ $ storage = $ this ->createMock (Storage::class);
55695569
55705570 $ share ->method ('getSharedBy ' )->willReturn ('sharedByUser ' );
55715571 $ share ->method ('getNodeId ' )->willReturn (42 );
@@ -5575,7 +5575,7 @@ public function testFederatedStorageRespectsUserChoice(): void {
55755575 $ node ->method ('getStorage ' )->willReturn ($ storage );
55765576 $ storage ->method ('instanceOfStorage ' )->willReturnMap ([
55775577 [SharedStorage::class, false ],
5578- [\ OCA \ Files_Sharing \ External \ Storage::class, true ]
5578+ [Storage::class, true ]
55795579 ]);
55805580
55815581 $ userFolder ->method ('getById ' )->with (42 )->willReturn ([$ node ]);
0 commit comments