HealthCatalyst / Fabric.Identity

Identity service to provide authentication
Apache License 2.0
12 stars 6 forks source link

Port Integration tests from IdentityProviderSearchService #402

Closed tyler-m-cline closed 4 years ago

tyler-m-cline commented 4 years ago

Porting the integration tests from the IdentityProviderSearchService.

Updated the Test Fixture to inject mocked Proxy and GraphApi to have mock data for Azure and AD tests

Updated the ServiceCollectionExtensions to Try to add the singletones for proxy and graphapi, that way the mocked singletons won't be overwritten

Changed InMemoryUserStore.SearchUsers from throwing a NotImplementedException to return a blank list of Users. This was breaking the integration tests being ported.