Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into recover-token-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Nov 16, 2023
2 parents f0d9678 + cb4a8cb commit 9695086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/internal/m365/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ func (suite *ControllerIntegrationSuite) TestRestoreAndBackup_core() {
suite.ctrl.tenant,
[]string{suite.user},
control.DefaultOptions(),
control.DefaultRestoreConfig(dttm.HumanReadableDriveItem))
control.DefaultRestoreConfig(dttm.SafeForTesting))
})
}
}
Expand Down Expand Up @@ -1242,7 +1242,7 @@ func (suite *ControllerIntegrationSuite) TestMultiFolderBackupDifferentNames() {

t.Log("Backup enumeration complete")

restoreCfg := control.DefaultRestoreConfig(dttm.HumanReadableDriveItem)
restoreCfg := control.DefaultRestoreConfig(dttm.SafeForTesting)
restoreCfg.IncludePermissions = true

ci := stub.ConfigInfo{
Expand Down Expand Up @@ -1285,7 +1285,7 @@ func (suite *ControllerIntegrationSuite) TestRestoreAndBackup_largeMailAttachmen
},
}

restoreCfg := control.DefaultRestoreConfig(dttm.HumanReadableDriveItem)
restoreCfg := control.DefaultRestoreConfig(dttm.SafeForTesting)
restoreCfg.IncludePermissions = true

runRestoreBackupTest(
Expand Down
2 changes: 1 addition & 1 deletion src/internal/m365/onedrive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ func testRestoreFolderNamedFolderRegression(
collectionsLatest: expected,
}

restoreCfg := control.DefaultRestoreConfig(dttm.HumanReadableDriveItem)
restoreCfg := control.DefaultRestoreConfig(dttm.SafeForTesting)
restoreCfg.IncludePermissions = true

runRestoreTestWithVersion(
Expand Down

0 comments on commit 9695086

Please sign in to comment.