Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coderGo93 committed Jan 11, 2022
1 parent 4f74ee6 commit e1a8c56
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions mongodbatlas/data_source_mongodbatlas_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ func TestAccDataSourceMongoDBAtlasCluster_advancedConf(t *testing.T) {
resource.TestCheckResourceAttrSet(dataSourceName, "mongo_uri"),
resource.TestCheckResourceAttrSet(dataSourceName, "replication_specs.#"),
resource.TestCheckResourceAttr(dataSourceName, "version_release_system", "LTS"),
resource.TestCheckResourceAttr(dataSourceName, "advanced_configuration.0.minimum_enabled_tls_protocol", "TLS1_2"),
resource.TestCheckResourceAttr(dataSourceName, "advanced_configuration.0.no_table_scan", "false"),
resource.TestCheckResourceAttr(dataSourceName, "advanced_configuration.0.oplog_size_mb", "1000"),
resource.TestCheckResourceAttr(dataSourceName, "advanced_configuration.0.sample_refresh_interval_bi_connector", "310"),
resource.TestCheckResourceAttr(dataSourceName, "advanced_configuration.0.sample_size_bi_connector", "110"),
),
},
},
Expand Down
5 changes: 0 additions & 5 deletions mongodbatlas/data_source_mongodbatlas_clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ func TestAccDataSourceMongoDBAtlasClusters_advancedConf(t *testing.T) {
resource.TestCheckResourceAttrSet(dataSourceName, "results.0.replication_specs.#"),
resource.TestCheckResourceAttrSet(dataSourceName, "results.0.name"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.version_release_system", "LTS"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.advanced_configuration.0.minimum_enabled_tls_protocol", "TLS1_2"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.advanced_configuration.0.no_table_scan", "false"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.advanced_configuration.0.oplog_size_mb", "1000"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.advanced_configuration.0.sample_refresh_interval_bi_connector", "310"),
resource.TestCheckResourceAttr(dataSourceName, "results.0.advanced_configuration.0.sample_size_bi_connector", "110"),
),
},
},
Expand Down

0 comments on commit e1a8c56

Please sign in to comment.