mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
core: fix TestContext2Apply_varsEnv
The expected output string for this test is assuming a couple computed attributes that were not declared in schema. This didn't matter before because the provider output was not previously subject to schema-based interpretation, but now our shims to the old provider API rely on the schema to convert the returned data and so any unexpected attributes are filtered.
This commit is contained in:
parent
5802953ab6
commit
425d5cd191
@ -70,6 +70,8 @@ func contextFixtureApplyVarsEnv(t *testing.T) *contextTestFixture {
|
||||
"string": {Type: cty.String, Optional: true},
|
||||
"list": {Type: cty.List(cty.String), Optional: true},
|
||||
"map": {Type: cty.Map(cty.String), Optional: true},
|
||||
"id": {Type: cty.String, Computed: true},
|
||||
"type": {Type: cty.String, Computed: true},
|
||||
},
|
||||
})
|
||||
p.ApplyFn = testApplyFn
|
||||
|
Loading…
Reference in New Issue
Block a user