mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
test: keep deleted address in test suite
This commit is contained in:
@ -88,7 +88,6 @@ func (s *scenario) theAccountHasAdditionalAddressWithoutKeys(username, address s
|
||||
}
|
||||
|
||||
func (s *scenario) theAccountNoLongerHasAdditionalAddress(username, address string) error {
|
||||
userID := s.t.getUserByName(username).getUserID()
|
||||
addrID := s.t.getUserByName(username).getAddrID(address)
|
||||
|
||||
if err := s.t.withClient(context.Background(), username, func(ctx context.Context, c *proton.Client) error {
|
||||
@ -101,8 +100,6 @@ func (s *scenario) theAccountNoLongerHasAdditionalAddress(username, address stri
|
||||
return err
|
||||
}
|
||||
|
||||
s.t.getUserByID(userID).remAddress(addrID)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user