Skip to content

Commit

Permalink
fixup: adding ID to test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Pvlerick committed May 31, 2023
1 parent 542beb6 commit d59139c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protected_environments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,13 @@ func TestListProtectedEnvironments(t *testing.T) {
RequiredApprovalCount: 1,
ApprovalRules: []*EnvironmentApprovalRule{
{
ID: 38,
UserID: 42,
AccessLevelDescription: "qa-group",
RequiredApprovalCount: 1,
},
{
ID: 39,
GroupID: 135,
AccessLevel: 30,
AccessLevelDescription: "security-group",
Expand Down Expand Up @@ -153,6 +155,7 @@ func TestGetProtectedEnvironment(t *testing.T) {
RequiredApprovalCount: 1,
ApprovalRules: []*EnvironmentApprovalRule{
{
ID: 1,
GroupID: 10,
AccessLevel: 5,
AccessLevelDescription: "devops",
Expand Down Expand Up @@ -235,6 +238,7 @@ func TestProtectRepositoryEnvironments(t *testing.T) {
RequiredApprovalCount: 2,
ApprovalRules: []*EnvironmentApprovalRule{
{
ID: 1,
GroupID: 10,
AccessLevel: 5,
AccessLevelDescription: "devops",
Expand Down

0 comments on commit d59139c

Please sign in to comment.