Commit fc7bab8b by Marcus Efraimsson

dashboard: fix failing test. #7883

parent 5b35c694
...@@ -49,6 +49,7 @@ func TestGetDashboardVersion(t *testing.T) { ...@@ -49,6 +49,7 @@ func TestGetDashboardVersion(t *testing.T) {
err = GetDashboard(&dashCmd) err = GetDashboard(&dashCmd)
So(err, ShouldBeNil) So(err, ShouldBeNil)
dashCmd.Result.Data.Del("uid")
eq := reflect.DeepEqual(dashCmd.Result.Data, query.Result.Data) eq := reflect.DeepEqual(dashCmd.Result.Data, query.Result.Data)
So(eq, ShouldEqual, true) So(eq, ShouldEqual, true)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment