diff --git a/tests/integration/Core/Repository/TrashService/TrashTest.php b/tests/integration/Core/Repository/TrashService/TrashTest.php index 28b58144b1..7699ccb97e 100644 --- a/tests/integration/Core/Repository/TrashService/TrashTest.php +++ b/tests/integration/Core/Repository/TrashService/TrashTest.php @@ -54,7 +54,7 @@ public function testTrashLocationDeletesChildrenDrafts(): void $secondDepthChildFolderLocationId, ); - $locationToTrash = $this->getLocationService()->loadLocation($folderMainLocationId); + $locationToTrash = self::getLocationService()->loadLocation($folderMainLocationId); $trashService->trash($locationToTrash);