Skip to content

Commit e763d2a

Browse files
committed
test(azure): include ServiceNoSQL in GetServiceClient test matrix
The table-driven test TestAzureProvider_GetServiceClient_AllServiceTypes was missing common.ServiceNoSQL, leaving the GetServiceClient NoSQL routing branch uncovered. Add {common.ServiceNoSQL} to testCases so NewCosmosDBClient construction is verified alongside other service types. Fixes CodeRabbit finding on PR #560.
1 parent 89e8c02 commit e763d2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎providers/azure/provider_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ func TestAzureProvider_GetServiceClient_AllServiceTypes(t *testing.T) {
411411
}{
412412
{common.ServiceCompute},
413413
{common.ServiceRelationalDB},
414+
{common.ServiceNoSQL},
414415
{common.ServiceCache},
415416
{common.ServiceNoSQL},
416417
{common.ServiceMemoryDB},

0 commit comments

Comments
 (0)