test: keep deleted address in test suite

This commit is contained in:
Jakub 2024-01-18 16:26:58 +01:00 committed by Gordana Zafirova
parent d919c0accf
commit 65d8fbbf31
1 changed files with 0 additions and 3 deletions

View File

@ -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
}