Skip to content

Commit

Permalink
Fixing tests following rebase (#399)
Browse files Browse the repository at this point in the history
Reference: #399
  • Loading branch information
bendbennett committed Aug 8, 2022
1 parent f0166a6 commit b9ee558
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions internal/fromproto5/applyresourcechange_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
}, expectedDiagnostics: diag.Diagnostics{
diag.NewErrorDiagnostic(
"Error Decoding Private State",
Expand All @@ -162,7 +162,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
PlannedPrivate: &privatestate.Data{
Framework: map[string][]byte{},
Provider: testEmptyProviderData,
Expand All @@ -178,7 +178,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
PlannedPrivate: &privatestate.Data{
Framework: map[string][]byte{
".frameworkKey": []byte(`{"fKeyOne": {"k0": "zero", "k1": 1}}`),
Expand Down
6 changes: 3 additions & 3 deletions internal/fromproto6/applyresourcechange_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
}, expectedDiagnostics: diag.Diagnostics{
diag.NewErrorDiagnostic(
"Error Decoding Private State",
Expand All @@ -162,7 +162,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
PlannedPrivate: &privatestate.Data{
Framework: map[string][]byte{},
Provider: testEmptyProviderData,
Expand All @@ -178,7 +178,7 @@ func TestApplyResourceChangeRequest(t *testing.T) {
},
resourceSchema: testFwSchema,
expected: &fwserver.ApplyResourceChangeRequest{
ResourceSchema: *testFwSchema,
ResourceSchema: testFwSchema,
PlannedPrivate: &privatestate.Data{
Framework: map[string][]byte{
".frameworkKey": []byte(`{"fKeyOne": {"k0": "zero", "k1": 1}}`),
Expand Down

0 comments on commit b9ee558

Please sign in to comment.