Skip to content

Commit 3028e9f

Browse files
committed
test: include shutdown in domain destroy flag fixtures
1 parent 32c20a1 commit 3028e9f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/provider/domain_resource_destroy_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ func TestDomainDestroyFlagsFromDestroy(t *testing.T) {
1414

1515
destroyAttrTypes := map[string]attr.Type{
1616
"graceful": types.BoolType,
17+
"shutdown": types.ObjectType{
18+
AttrTypes: map[string]attr.Type{
19+
"timeout": types.Int64Type,
20+
},
21+
},
1722
}
1823

1924
tests := []struct {
@@ -33,6 +38,9 @@ func TestDomainDestroyFlagsFromDestroy(t *testing.T) {
3338
destroyAttrTypes,
3439
map[string]attr.Value{
3540
"graceful": types.BoolValue(true),
41+
"shutdown": types.ObjectNull(map[string]attr.Type{
42+
"timeout": types.Int64Type,
43+
}),
3644
},
3745
)
3846
if diags.HasError() {

0 commit comments

Comments
 (0)