mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add exists method to WebdavControllerTest
Included a new method `exists` to handle existence checks for StoredObject or StoredObjectVersion within WebdavControllerTest. This method currently always returns true, ensuring initial compatibility and providing a foundation for future logic refinements.
This commit is contained in:
parent
b2042bd1e4
commit
0e6b7d76a4
@ -446,4 +446,9 @@ class MockedStoredObjectManager implements StoredObjectManagerInterface
|
||||
public function clearCache(): void {}
|
||||
|
||||
public function delete(StoredObjectVersion $storedObjectVersion): void {}
|
||||
|
||||
public function exists(StoredObject|StoredObjectVersion $document): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user