Skip to content

Commit

Permalink
Add test case to check for completeness of roles unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Weiss authored and ghostsquad committed May 16, 2019
1 parent c30eba2 commit a9350ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ func TestProjectService_Get(t *testing.T) {
if err != nil {
t.Errorf("Error given: %s", err)
}
if len(projects.Roles) != 9 {
t.Errorf("Expected 9 roles but got %d", len(projects.Roles))
}
}

func TestProjectService_Get_NoProject(t *testing.T) {
Expand Down

0 comments on commit a9350ed

Please sign in to comment.