Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Add Visibility Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Udit committed May 31, 2020
1 parent 2f2bc18 commit d74cf6c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions github/resource_github_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func TestAccGithubRepository_basic(t *testing.T) {
HasProjects: false,
DefaultBranch: "master",
Archived: false,
Visibility: "public",
}),
),
},
Expand All @@ -100,6 +101,7 @@ func TestAccGithubRepository_basic(t *testing.T) {
DefaultBranch: "master",
HasProjects: false,
Archived: false,
Visibility: "public",
}),
),
},
Expand Down Expand Up @@ -144,6 +146,7 @@ func TestAccGithubRepository_archive(t *testing.T) {
HasDownloads: true,
DefaultBranch: "master",
Archived: true,
Visibility: "public",
}),
),
},
Expand Down Expand Up @@ -188,6 +191,7 @@ func TestAccGithubRepository_archiveUpdate(t *testing.T) {
HasDownloads: true,
DefaultBranch: "master",
Archived: false,
Visibility: "public",
}),
),
},
Expand All @@ -207,6 +211,7 @@ func TestAccGithubRepository_archiveUpdate(t *testing.T) {
HasDownloads: true,
DefaultBranch: "master",
Archived: true,
Visibility: "public",
}),
),
},
Expand Down Expand Up @@ -273,6 +278,7 @@ func TestAccGithubRepository_defaultBranch(t *testing.T) {
HasDownloads: true,
DefaultBranch: "master",
Archived: false,
Visibility: "public",
}),
),
},
Expand All @@ -298,6 +304,7 @@ func TestAccGithubRepository_defaultBranch(t *testing.T) {
HasDownloads: true,
DefaultBranch: "foo",
Archived: false,
Visibility: "public",
}),
),
},
Expand Down Expand Up @@ -345,6 +352,7 @@ func TestAccGithubRepository_templates(t *testing.T) {
LicenseTemplate: "ms-pl",
GitignoreTemplate: "C++",
Archived: false,
Visibility: "public",
}),
),
},
Expand Down Expand Up @@ -397,6 +405,7 @@ func TestAccGithubRepository_topics(t *testing.T) {

// non-zero defaults
DefaultBranch: "master",
Visibility: "public",
AllowMergeCommit: true,
AllowSquashMerge: true,
AllowRebaseMerge: true,
Expand All @@ -415,6 +424,7 @@ func TestAccGithubRepository_topics(t *testing.T) {

// non-zero defaults
DefaultBranch: "master",
Visibility: "public",
AllowMergeCommit: true,
AllowSquashMerge: true,
AllowRebaseMerge: true,
Expand All @@ -433,6 +443,7 @@ func TestAccGithubRepository_topics(t *testing.T) {

// non-zero defaults
DefaultBranch: "master",
Visibility: "public",
AllowMergeCommit: true,
AllowSquashMerge: true,
AllowRebaseMerge: true,
Expand Down

0 comments on commit d74cf6c

Please sign in to comment.