Skip to content

Commit 72f0147

Browse files
trouzeclaude
andcommitted
fix: update test to expect null connection_id when not set
After removing the default of 0 from connection_id, the API value of 0 is now treated as null in state. Update the assertion accordingly. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 523e932 commit 72f0147

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/framework/objects/environment/resource_acceptance_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,9 @@ func getBasicConfigWithModifiedConfigTestStep(projectName, environmentName, cust
7070
"deployment_type",
7171
"production",
7272
),
73-
resource.TestCheckResourceAttr(
73+
resource.TestCheckNoResourceAttr(
7474
"dbtcloud_environment.test_env",
7575
"connection_id",
76-
"0",
7776
),
7877
),
7978
}

0 commit comments

Comments
 (0)