Skip to content

Commit

Permalink
more integration tests for getDashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadJoe committed Feb 27, 2020
1 parent 4452e02 commit a1ac672
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rest-dashboard_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,15 @@ func Test_Dashboard_CRUD(t *testing.T) {
if err != nil {
t.Error(err)
}

_, _, err = client.GetDashboard(link.URI)
if err != nil {
t.Error(err)
}

_, _, err = client.GetDashboardBySlug(link.URI)
if err != nil {
t.Error(err)
}
}
}

0 comments on commit a1ac672

Please sign in to comment.