✨ back: delete user data administrative endpoint (#799)
This commit is contained in:
committed by
Anton Shepilov
parent
9d35fbe0d7
commit
cb61d4d8d1
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user