add dashboardId to test

pull/11333/head
ryan 7 years ago
parent a58b4ff2d6
commit 2116152295
  1. 9
      pkg/api/annotations_test.go

@ -14,10 +14,11 @@ import (
func TestAnnotationsApiEndpoint(t *testing.T) {
Convey("Given an annotation without a dashboard id", t, func() {
cmd := dtos.PostAnnotationsCmd{
Time: 1000,
Text: "annotation text",
Tags: []string{"tag1", "tag2"},
IsRegion: false,
Time: 1000,
Text: "annotation text",
Tags: []string{"tag1", "tag2"},
IsRegion: false,
DashboardId: 1,
}
updateCmd := dtos.UpdateAnnotationsCmd{

Loading…
Cancel
Save