mirror of
https://github.com/standardnotes/server
synced 2026-10-21 06:03:37 -04:00
fix(syncing-server): remove unused methods from auth http service
This commit is contained in:
@@ -2,5 +2,4 @@ import { KeyParamsData } from '@standardnotes/responses'
|
||||
|
||||
export interface AuthHttpServiceInterface {
|
||||
getUserKeyParams(dto: { email?: string; uuid?: string; authenticated: boolean }): Promise<KeyParamsData>
|
||||
getUserSetting(userUuid: string, settingName: string): Promise<{ uuid: string; value: string | null }>
|
||||
}
|
||||
|
||||
@@ -37,7 +37,6 @@ describe('CloudBackupRequestedEventHandler', () => {
|
||||
|
||||
authHttpService = {} as jest.Mocked<AuthHttpServiceInterface>
|
||||
authHttpService.getUserKeyParams = jest.fn().mockReturnValue({ foo: 'bar' })
|
||||
// authHttpService.getUserSetting = jest.fn().mockReturnValue
|
||||
|
||||
extensionsHttpService = {} as jest.Mocked<ExtensionsHttpServiceInterface>
|
||||
extensionsHttpService.triggerCloudBackupOnExtensionsServer = jest.fn()
|
||||
|
||||
Reference in New Issue
Block a user