Other: Use API call rather than server-specific method in test code

This commit is contained in:
James Houlahan
2022-11-21 18:51:00 +01:00
parent fd09769ccc
commit 57e9310510
5 changed files with 28 additions and 17 deletions

View File

@ -34,7 +34,6 @@ type API interface {
CreateAddress(userID, address string, password []byte) (string, error)
RemoveAddress(userID, addrID string) error
GetAddressKeyIDs(userID, addrID string) ([]string, error)
RemoveAddressKey(userID, addrID, keyID string) error
UpdateDraft(userID, draftID string, changes liteapi.DraftTemplate) error