Skip to content

Commit 46205a8

Browse files
committed
Update test cases
1 parent da1433e commit 46205a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/toproto5/getproviderschema_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4141,7 +4141,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
41414141
"test_resource": resourceschema.Schema{
41424142
Attributes: map[string]resourceschema.Attribute{
41434143
"test_attribute": resourceschema.BoolAttribute{
4144-
Computed: true,
4144+
Optional: true,
41454145
WriteOnly: true,
41464146
},
41474147
},
@@ -4157,7 +4157,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
41574157
Block: &tfprotov5.SchemaBlock{
41584158
Attributes: []*tfprotov5.SchemaAttribute{
41594159
{
4160-
Computed: true,
4160+
Optional: true,
41614161
Name: "test_attribute",
41624162
WriteOnly: true,
41634163
Type: tftypes.Bool,

internal/toproto6/getproviderschema_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4250,7 +4250,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
42504250
"test_resource": resourceschema.Schema{
42514251
Attributes: map[string]resourceschema.Attribute{
42524252
"test_attribute": resourceschema.BoolAttribute{
4253-
Computed: true,
4253+
Optional: true,
42544254
WriteOnly: true,
42554255
},
42564256
},
@@ -4266,7 +4266,7 @@ func TestGetProviderSchemaResponse(t *testing.T) {
42664266
Block: &tfprotov6.SchemaBlock{
42674267
Attributes: []*tfprotov6.SchemaAttribute{
42684268
{
4269-
Computed: true,
4269+
Optional: true,
42704270
Name: "test_attribute",
42714271
WriteOnly: true,
42724272
Type: tftypes.Bool,

0 commit comments

Comments
 (0)