back: delete user data administrative endpoint (#799)

This commit is contained in:
Eric Doughty-Papassideris
2025-03-09 23:36:58 +01:00
committed by Anton Shepilov
parent 9d35fbe0d7
commit cb61d4d8d1
21 changed files with 485 additions and 258 deletions
@@ -168,8 +168,8 @@ describe('OneOfStorageStrategy', () => {
it('should remove the file from all storages', async () => {
const result = await oneOfStorageStrategy.remove('test/path');
expect(storage1.remove).toHaveBeenCalledWith('test/path', undefined);
expect(storage2.remove).toHaveBeenCalledWith('test/path', undefined);
expect(storage1.remove).toHaveBeenCalledWith('test/path', undefined, undefined, undefined);
expect(storage2.remove).toHaveBeenCalledWith('test/path', undefined, undefined, undefined);
expect(result).toBe(true);
});