mirror of
https://github.com/interviewstreet/go-jira.git
synced 2024-11-24 08:22:42 +02:00
Add test case to check for completeness of roles unmarshal
This commit is contained in:
parent
c30eba2b69
commit
a9350ed566
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user