Skip to content

Commit c9a10f4

Browse files
committed
Add WriteOnly field to tests
1 parent 87f8480 commit c9a10f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resourcevalidator/prefer_write_only_attribute_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ func TestPreferWriteOnlyAttribute(t *testing.T) {
4646
Optional: true,
4747
},
4848
"writeOnlyAttribute1": schema.StringAttribute{
49-
Optional: true,
49+
Optional: true,
50+
WriteOnly: true,
5051
},
5152
"oldAttribute2": schema.StringAttribute{
5253
Optional: true,
5354
},
5455
"writeOnlyAttribute2": schema.StringAttribute{
55-
Optional: true,
56+
Optional: true,
57+
WriteOnly: true,
5658
},
5759
},
5860
},

0 commit comments

Comments
 (0)