Skip to content

Commit a3d767b

Browse files
committed
Updates deprecated func in test
1 parent 1ae026c commit a3d767b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/resource_github_actions_secret_validation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func TestResourceGithubActionsSecretValidation(t *testing.T) {
1010
resource := resourceGithubActionsSecret()
1111

1212
// Verify the resource does NOT have an Update function since all fields are ForceNew
13-
if resource.Update != nil {
13+
if resource.UpdateContext != nil || resource.UpdateWithoutTimeout != nil {
1414
t.Fatal("github_actions_secret resource should not have an Update function when all fields are ForceNew")
1515
}
1616

0 commit comments

Comments
 (0)