Commit ef0facc9 by Daniel Lee

WIP: fix test after merge conflict

parent 9f79b9b8
...@@ -28,7 +28,7 @@ func TestGetDashboardVersion(t *testing.T) { ...@@ -28,7 +28,7 @@ func TestGetDashboardVersion(t *testing.T) {
InitTestDB(t) InitTestDB(t)
Convey("Get a Dashboard ID and version ID", func() { Convey("Get a Dashboard ID and version ID", func() {
savedDash := insertTestDashboard("test dash 26", 1, "diff") savedDash := insertTestDashboard("test dash 26", 1, 0, false, "diff")
query := m.GetDashboardVersionQuery{ query := m.GetDashboardVersionQuery{
DashboardId: savedDash.Id, DashboardId: savedDash.Id,
...@@ -69,7 +69,7 @@ func TestGetDashboardVersion(t *testing.T) { ...@@ -69,7 +69,7 @@ func TestGetDashboardVersion(t *testing.T) {
func TestGetDashboardVersions(t *testing.T) { func TestGetDashboardVersions(t *testing.T) {
Convey("Testing dashboard versions retrieval", t, func() { Convey("Testing dashboard versions retrieval", t, func() {
InitTestDB(t) InitTestDB(t)
savedDash := insertTestDashboard("test dash 43", 1, "diff-all") savedDash := insertTestDashboard("test dash 43", 1, 0, false, "diff-all")
Convey("Get all versions for a given Dashboard ID", func() { Convey("Get all versions for a given Dashboard ID", func() {
query := m.GetDashboardVersionsQuery{DashboardId: savedDash.Id, OrgId: 1} query := m.GetDashboardVersionsQuery{DashboardId: savedDash.Id, OrgId: 1}
......
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