mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 11:02:55 +08:00
fix operator
This commit is contained in:
@ -82,7 +82,7 @@ func TestAnnotationsApiEndpoint(t *testing.T) {
|
||||
})
|
||||
|
||||
Convey("Should note be able to save an annotation", func() {
|
||||
cmd := dtos.PostAnnotationsCmd{
|
||||
cmd = dtos.PostAnnotationsCmd{
|
||||
Time: 1000,
|
||||
Text: "annotation text",
|
||||
}
|
||||
@ -91,7 +91,7 @@ func TestAnnotationsApiEndpoint(t *testing.T) {
|
||||
So(sc.resp.Code, ShouldEqual, 500)
|
||||
})
|
||||
|
||||
cmd := dtos.PostAnnotationsCmd{
|
||||
cmd = dtos.PostAnnotationsCmd{
|
||||
Time: 1000,
|
||||
DashboardId: 3,
|
||||
}
|
||||
|
Reference in New Issue
Block a user