Skip to content

Commit 27f722b

Browse files
committed
Update action.UnlinkedSchema to action.Schema
1 parent c94f6a5 commit 27f722b

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

actionvalidator/all_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestAllValidatorValidateAction(t *testing.T) {
4545
},
4646
req: action.ValidateConfigRequest{
4747
Config: tfsdk.Config{
48-
Schema: schema.UnlinkedSchema{
48+
Schema: schema.Schema{
4949
Attributes: map[string]schema.Attribute{
5050
"test1": schema.StringAttribute{
5151
Optional: true,
@@ -105,7 +105,7 @@ func TestAllValidatorValidateAction(t *testing.T) {
105105
},
106106
req: action.ValidateConfigRequest{
107107
Config: tfsdk.Config{
108-
Schema: schema.UnlinkedSchema{
108+
Schema: schema.Schema{
109109
Attributes: map[string]schema.Attribute{
110110
"test1": schema.StringAttribute{
111111
Optional: true,

actionvalidator/any_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestAnyValidatorValidateAction(t *testing.T) {
3939
},
4040
req: action.ValidateConfigRequest{
4141
Config: tfsdk.Config{
42-
Schema: schema.UnlinkedSchema{
42+
Schema: schema.Schema{
4343
Attributes: map[string]schema.Attribute{
4444
"test1": schema.StringAttribute{
4545
Optional: true,
@@ -88,7 +88,7 @@ func TestAnyValidatorValidateAction(t *testing.T) {
8888
},
8989
req: action.ValidateConfigRequest{
9090
Config: tfsdk.Config{
91-
Schema: schema.UnlinkedSchema{
91+
Schema: schema.Schema{
9292
Attributes: map[string]schema.Attribute{
9393
"test1": schema.StringAttribute{
9494
Optional: true,

actionvalidator/any_with_all_warnings_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
4040
},
4141
req: action.ValidateConfigRequest{
4242
Config: tfsdk.Config{
43-
Schema: schema.UnlinkedSchema{
43+
Schema: schema.Schema{
4444
Attributes: map[string]schema.Attribute{
4545
"test1": schema.StringAttribute{
4646
Optional: true,
@@ -95,7 +95,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
9595
},
9696
req: action.ValidateConfigRequest{
9797
Config: tfsdk.Config{
98-
Schema: schema.UnlinkedSchema{
98+
Schema: schema.Schema{
9999
Attributes: map[string]schema.Attribute{
100100
"test1": schema.StringAttribute{
101101
Optional: true,
@@ -149,7 +149,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
149149
},
150150
req: action.ValidateConfigRequest{
151151
Config: tfsdk.Config{
152-
Schema: schema.UnlinkedSchema{
152+
Schema: schema.Schema{
153153
Attributes: map[string]schema.Attribute{
154154
"test1": schema.StringAttribute{
155155
Optional: true,

actionvalidator/at_least_one_of_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestAtLeastOneOf(t *testing.T) {
3232
},
3333
req: action.ValidateConfigRequest{
3434
Config: tfsdk.Config{
35-
Schema: schema.UnlinkedSchema{
35+
Schema: schema.Schema{
3636
Attributes: map[string]schema.Attribute{
3737
"test": schema.StringAttribute{
3838
Optional: true,
@@ -65,7 +65,7 @@ func TestAtLeastOneOf(t *testing.T) {
6565
},
6666
req: action.ValidateConfigRequest{
6767
Config: tfsdk.Config{
68-
Schema: schema.UnlinkedSchema{
68+
Schema: schema.Schema{
6969
Attributes: map[string]schema.Attribute{
7070
"test1": schema.StringAttribute{
7171
Optional: true,

actionvalidator/conflicting_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestConflicting(t *testing.T) {
3232
},
3333
req: action.ValidateConfigRequest{
3434
Config: tfsdk.Config{
35-
Schema: schema.UnlinkedSchema{
35+
Schema: schema.Schema{
3636
Attributes: map[string]schema.Attribute{
3737
"test": schema.StringAttribute{
3838
Optional: true,
@@ -65,7 +65,7 @@ func TestConflicting(t *testing.T) {
6565
},
6666
req: action.ValidateConfigRequest{
6767
Config: tfsdk.Config{
68-
Schema: schema.UnlinkedSchema{
68+
Schema: schema.Schema{
6969
Attributes: map[string]schema.Attribute{
7070
"test1": schema.StringAttribute{
7171
Optional: true,

actionvalidator/exactly_one_of_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestExactlyOneOf(t *testing.T) {
3232
},
3333
req: action.ValidateConfigRequest{
3434
Config: tfsdk.Config{
35-
Schema: schema.UnlinkedSchema{
35+
Schema: schema.Schema{
3636
Attributes: map[string]schema.Attribute{
3737
"test": schema.StringAttribute{
3838
Optional: true,
@@ -65,7 +65,7 @@ func TestExactlyOneOf(t *testing.T) {
6565
},
6666
req: action.ValidateConfigRequest{
6767
Config: tfsdk.Config{
68-
Schema: schema.UnlinkedSchema{
68+
Schema: schema.Schema{
6969
Attributes: map[string]schema.Attribute{
7070
"test1": schema.StringAttribute{
7171
Optional: true,

actionvalidator/required_together_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestRequiredTogether(t *testing.T) {
3232
},
3333
req: action.ValidateConfigRequest{
3434
Config: tfsdk.Config{
35-
Schema: schema.UnlinkedSchema{
35+
Schema: schema.Schema{
3636
Attributes: map[string]schema.Attribute{
3737
"test": schema.StringAttribute{
3838
Optional: true,
@@ -65,7 +65,7 @@ func TestRequiredTogether(t *testing.T) {
6565
},
6666
req: action.ValidateConfigRequest{
6767
Config: tfsdk.Config{
68-
Schema: schema.UnlinkedSchema{
68+
Schema: schema.Schema{
6969
Attributes: map[string]schema.Attribute{
7070
"test1": schema.StringAttribute{
7171
Optional: true,

0 commit comments

Comments
 (0)