More rigorous email test with repeat folder names (#2792)
Expand coverage for email tests by creating a layout that has duplicate folder names at different levels of the hierarchy. --- #### 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) * closes #1228 #### Test Plan - [ ] 💪 Manual - [x] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
968f51616f
commit
9fd3b81f6e
@ -652,6 +652,36 @@ func (suite *GraphConnectorIntegrationSuite) TestRestoreAndBackup() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pathElements: []string{"Work", "Inbox"},
|
||||||
|
category: path.EmailCategory,
|
||||||
|
items: []itemInfo{
|
||||||
|
{
|
||||||
|
name: "someencodeditemID4",
|
||||||
|
data: mockconnector.GetMockMessageWithBodyBytes(
|
||||||
|
subjectText+"-4",
|
||||||
|
bodyText+" 4.",
|
||||||
|
bodyText+" 4.",
|
||||||
|
),
|
||||||
|
lookupKey: subjectText + "-4",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pathElements: []string{"Work", "Inbox", "Work"},
|
||||||
|
category: path.EmailCategory,
|
||||||
|
items: []itemInfo{
|
||||||
|
{
|
||||||
|
name: "someencodeditemID5",
|
||||||
|
data: mockconnector.GetMockMessageWithBodyBytes(
|
||||||
|
subjectText+"-5",
|
||||||
|
bodyText+" 5.",
|
||||||
|
bodyText+" 5.",
|
||||||
|
),
|
||||||
|
lookupKey: subjectText + "-5",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user