From a1ac672712fea8d4a5229cdefcfc6de04f180497 Mon Sep 17 00:00:00 2001 From: Maksimka Date: Thu, 27 Feb 2020 14:17:38 +0300 Subject: [PATCH] more integration tests for getDashboard --- rest-dashboard_integration_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rest-dashboard_integration_test.go b/rest-dashboard_integration_test.go index 45cacfe0..9e41b62b 100644 --- a/rest-dashboard_integration_test.go +++ b/rest-dashboard_integration_test.go @@ -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) + } } }