Skip to content

Change TestController implementation for Profile and StorageManagement Scenario Tests #6180

@markcowl

Description

@markcowl
  • Create new Mock IClientFactory implementation that creates clients at test runtime
  • Rework test setup to change the HttpRecorder settings only before running a test
  • Apply these settings to the Profile Project
  • Apply these changes to the storage management project
  • Add necessary changes to control tenant id in ResourceManager calls
    • Ensure that Mock ProfileProvider provides correct context with token per test
    • Ensure that clients are correctly created with appropriate tenant settings (for Graph scenarios)
  • Adapt these changes to the ResourceManager tests
  • Write comon code documentation on how to write tests using the new paradigm

Cost: 20

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions