From a900985bc9e7ba5c277395952af3e2e249860866 Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Thu, 5 Jan 2023 20:15:51 -0800 Subject: [PATCH] fix: skip anonymous tests that can't be done anonymously --- github/data_source_github_repository_file_test.go | 2 +- github/data_source_github_tree_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/github/data_source_github_repository_file_test.go b/github/data_source_github_repository_file_test.go index 8235b86b37..ac1fe4a9bc 100644 --- a/github/data_source_github_repository_file_test.go +++ b/github/data_source_github_repository_file_test.go @@ -75,7 +75,7 @@ func TestAccGithubRepositoryFileDataSource(t *testing.T) { } t.Run("with an anonymous account", func(t *testing.T) { - testCase(t, anonymous) + t.Skip("anonymous account not supported for this operation") }) t.Run("with an individual account", func(t *testing.T) { diff --git a/github/data_source_github_tree_test.go b/github/data_source_github_tree_test.go index 74ee06a0eb..7b61b8f363 100644 --- a/github/data_source_github_tree_test.go +++ b/github/data_source_github_tree_test.go @@ -58,7 +58,7 @@ func TestAccGithubTreeDataSource(t *testing.T) { } t.Run("with an anonymous account", func(t *testing.T) { - testCase(t, anonymous) + t.Skip("anonymous account not supported for this operation") }) t.Run("with an individual account", func(t *testing.T) {