microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
93 stars 68 forks source link

Int test updates #482

Closed Blackbaud-MikeLueders closed 4 years ago

Blackbaud-MikeLueders commented 4 years ago

The TestRepositoryConfig configuration allows for specifying the cosmos database to use for integration tests via the cosmosdb.database property name. This minimizes the number of collections created which is very useful if you don't have unlimited Azure credits. Instead of injecting cosmosdb.uri and cosmosdb.key and manually creating CosmosDbConfig, this PR updates those files to apply TestRepositoryConfig and autowire the CosmosDbConfig.

In addition, RoleRepositoryCollectionIT is updated to add assertions.

Incarnation-p-lee commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Issues
======
+ Solved 4

See the complete overview on Codacy

kushagraThapar commented 4 years ago

/azp run

azure-pipelines[bot] commented 4 years ago
No pipelines are associated with this pull request.