GC: Iterative Function: Bug fix (#1110)

## Description
Contact Iterative sequence tests changed to reflect `exchange.Backup` functions used within `SetupExchangeCollectionVars()`. The previous bug was caused by misalignment from the old test configuration and the current implementation.
<!-- Insert PR description-->

## Type of change

- [x] 🐛 Bugfix


## Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* closes  #1107<issue>

## Test Plan

- [x]  Unit test
This commit is contained in:
Danny 2022-10-10 14:22:31 -04:00 committed by GitHub
parent 1793cc3757
commit 211c248f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,10 +108,10 @@ func (suite *ExchangeIteratorSuite) TestIterativeFunctions() {
},
}, {
name: "Contacts Iterative Check",
queryFunction: GetAllContactsForUser,
iterativeFunction: IterateSelectAllDescendablesForCollections,
queryFunction: GetAllContactFolderNamesForUser,
iterativeFunction: IterateSelectAllContactsForCollections,
scope: contactScope[0],
transformer: models.CreateContactFromDiscriminatorValue,
transformer: models.CreateContactFolderCollectionResponseFromDiscriminatorValue,
}, {
name: "Contact Folder Traversal",
queryFunction: GetAllContactFolderNamesForUser,