Remove old test that's not needed (#2665)
#### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [x] 🤖 Test - [ ] 💻 CI/Deployment - [x] 🧹 Tech Debt/Cleanup #### Issue(s) * #2373 #### Test Plan - [ ] 💪 Manual - [x] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
1945db6b65
commit
ceb60a1c2b
@ -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() {
|
func (suite *ExchangeSelectorSuite) TestExchangeRestore_Reduce() {
|
||||||
var (
|
var (
|
||||||
contact = stubRepoRef(path.ExchangeService, path.ContactsCategory, "uid", "cfld", "cid")
|
contact = stubRepoRef(path.ExchangeService, path.ContactsCategory, "uid", "cfld", "cid")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user