Skip to content

Commit

Permalink
Add requiredFields to ignoreUnexported for fixing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sergen Yalçın <[email protected]>
(cherry picked from commit b73a85f)
  • Loading branch information
sergenyalcin committed Mar 19, 2024
1 parent cfaa5f2 commit 335c06b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func TestDefaultResource(t *testing.T) {
cmpopts.IgnoreFields(ExternalName{}, "SetIdentifierArgumentFn", "GetExternalNameFn", "GetIDFn"),
cmpopts.IgnoreFields(Resource{}, "useTerraformPluginSDKClient"),
cmpopts.IgnoreFields(Resource{}, "useTerraformPluginFrameworkClient"),
cmpopts.IgnoreFields(Resource{}, "requiredFields"),
}

for name, tc := range cases {
Expand Down

0 comments on commit 335c06b

Please sign in to comment.