Skip to content

Commit

Permalink
test: fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-od committed Oct 14, 2022
1 parent d945260 commit a515318
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/services/cosmos/cosmosdb_account_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestAccCosmosDBAccount_basic_mongo_strong(t *testing.T) {
}

func TestAccCosmosDBAccount_basic_mongo_strong_without_capability(t *testing.T) {
testAccCosmosDBAccount_basicWith(t, documentdb.DatabaseAccountKindMongoDB, documentdb.DefaultConsistencyLevelStrong)
testAccCosmosDBAccount_basicMongoDBWith(t, documentdb.DefaultConsistencyLevelStrong)
}

func TestAccCosmosDBAccount_basic_parse_boundedStaleness(t *testing.T) {
Expand Down Expand Up @@ -2140,10 +2140,10 @@ func checkAccCosmosDBAccount_basic(data acceptance.TestData, consistency documen

func checkAccCosmosDBAccount_sql(data acceptance.TestData) acceptance.TestCheckFunc {
return acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).Key("primary_connection_string").Exists(),
check.That(data.ResourceName).Key("secondary_connection_string").Exists(),
check.That(data.ResourceName).Key("primary_readonly_connection_string").Exists(),
check.That(data.ResourceName).Key("secondary_readonly_connection_string").Exists(),
check.That(data.ResourceName).Key("primary_sql_connection_string").Exists(),
check.That(data.ResourceName).Key("secondary_sql_connection_string").Exists(),
check.That(data.ResourceName).Key("primary_readonly_sql_connection_string").Exists(),
check.That(data.ResourceName).Key("secondary_readonly_sql_connection_string").Exists(),
)
}

Expand Down

0 comments on commit a515318

Please sign in to comment.