Browse Source

dashboard: fix failing test. #7883

Marcus Efraimsson 8 years ago
parent
commit
fc7bab8bf0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/services/sqlstore/dashboard_version_test.go

+ 1 - 0
pkg/services/sqlstore/dashboard_version_test.go

@@ -49,6 +49,7 @@ func TestGetDashboardVersion(t *testing.T) {
 
 			err = GetDashboard(&dashCmd)
 			So(err, ShouldBeNil)
+			dashCmd.Result.Data.Del("uid")
 			eq := reflect.DeepEqual(dashCmd.Result.Data, query.Result.Data)
 			So(eq, ShouldEqual, true)
 		})