From ceb60a1c2bce3c5c84ca8a9ec442876d02ee4cc8 Mon Sep 17 00:00:00 2001 From: ashmrtn Date: Mon, 27 Feb 2023 15:53:06 -0800 Subject: [PATCH] Remove old test that's not needed (#2665) #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [x] :robot: Test - [ ] :computer: CI/Deployment - [x] :broom: Tech Debt/Cleanup #### Issue(s) * #2373 #### Test Plan - [ ] :muscle: Manual - [x] :zap: Unit test - [ ] :green_heart: E2E --- src/pkg/selectors/exchange_test.go | 36 ------------------------------ 1 file changed, 36 deletions(-) diff --git a/src/pkg/selectors/exchange_test.go b/src/pkg/selectors/exchange_test.go index 2610fbfe9..b18563fe5 100644 --- a/src/pkg/selectors/exchange_test.go +++ b/src/pkg/selectors/exchange_test.go @@ -773,42 +773,6 @@ func (suite *ExchangeSelectorSuite) TestExchangeScope_MatchesPath() { } } -func (suite *ExchangeSelectorSuite) TestIdPath() { - table := []struct { - cat exchangeCategory - pth path.Path - expect map[exchangeCategory]string - }{ - { - ExchangeContact, - stubPath(suite.T(), "uid", []string{"cFld", "cid"}, path.ContactsCategory), - map[exchangeCategory]string{ - ExchangeContactFolder: "cFld", - ExchangeContact: "cid", - }, - }, - { - ExchangeEvent, - stubPath(suite.T(), "uid", []string{"eCld", "eid"}, path.EventsCategory), - map[exchangeCategory]string{ - ExchangeEventCalendar: "eCld", - ExchangeEvent: "eid", - }, - }, - { - ExchangeMail, - stubPath(suite.T(), "uid", []string{"mFld", "mid"}, path.EmailCategory), - map[exchangeCategory]string{ - ExchangeMailFolder: "mFld", - ExchangeMail: "mid", - }, - }, - } - for _, test := range table { - suite.T().Run(test.cat.String(), func(t *testing.T) {}) - } -} - func (suite *ExchangeSelectorSuite) TestExchangeRestore_Reduce() { var ( contact = stubRepoRef(path.ExchangeService, path.ContactsCategory, "uid", "cfld", "cid")