forked from Silverfish/proton-bridge
GODT-35: Finish all details and make tests pass
This commit is contained in:
@ -116,6 +116,12 @@ func (api *FakePMAPI) ReorderAddresses(_ context.Context, addressIDs []string) e
|
||||
}
|
||||
|
||||
func (api *FakePMAPI) Addresses() pmapi.AddressList {
|
||||
if api.controller.noInternetConnection {
|
||||
return nil
|
||||
}
|
||||
if api.addresses == nil {
|
||||
return pmapi.AddressList{}
|
||||
}
|
||||
return *api.addresses
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user