From 65d8fbbf31e5212813ff7ceb6e55ef5c466f1fcd Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 18 Jan 2024 16:26:58 +0100 Subject: [PATCH] test: keep deleted address in test suite --- tests/user_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/user_test.go b/tests/user_test.go index 787886cf..4836454d 100644 --- a/tests/user_test.go +++ b/tests/user_test.go @@ -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 }