Skip to content

Commit

Permalink
chore: Adds support for MacT capture using HTTP_MOCKER_CAPTURE (#2874)
Browse files Browse the repository at this point in the history
* test: Adds support for MacT capture using HTTP_MOCKER_CAPTURE

* test: Refactor advanced cluster validation tests and remove obsolete unit tests (refactored/added in next PR)

* refactor: Update type definitions to use 'any' and remove unused test main file

* feat: apply latest changes from CLOUDP-287995_failure_recordings
  • Loading branch information
EspenAlbert authored Dec 14, 2024
1 parent a1ab136 commit cb5a729
Show file tree
Hide file tree
Showing 30 changed files with 2,194 additions and 1,115 deletions.
4 changes: 4 additions & 0 deletions internal/service/advancedclustertpf/move_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import (
"github.com/mongodb/terraform-provider-mongodbatlas/internal/testutil/acc"
)

const (
resourceName = "mongodbatlas_advanced_cluster.test"
)

func TestAccAdvancedCluster_moveBasic(t *testing.T) {
var (
projectID = acc.ProjectIDExecution(t)
Expand Down
8 changes: 8 additions & 0 deletions internal/service/advancedclustertpf/resource_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import (
)

func TestAdvancedCluster_ValidationErrors(t *testing.T) {
const (
projectID = "111111111111111111111111"
clusterName = "test"
)
resource.ParallelTest(t, resource.TestCase{
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
Steps: []resource.TestStep{
Expand All @@ -26,6 +30,10 @@ func TestAdvancedCluster_ValidationErrors(t *testing.T) {
}

func TestAdvancedCluster_PlanModifierErrors(t *testing.T) {
const (
projectID = "111111111111111111111111"
clusterName = "test"
)
resource.ParallelTest(t, resource.TestCase{
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
Steps: []resource.TestStep{
Expand Down
53 changes: 0 additions & 53 deletions internal/service/advancedclustertpf/resource_test.go

This file was deleted.

270 changes: 0 additions & 270 deletions internal/service/advancedclustertpf/resource_unit_test.go

This file was deleted.

Loading

0 comments on commit cb5a729

Please sign in to comment.