Commit 391dc1e2 by Torkel Ödegaard

dasboard_history: fixed sql integration test

parent 46412c84
...@@ -33,6 +33,7 @@ func TestGetDashboardVersion(t *testing.T) { ...@@ -33,6 +33,7 @@ func TestGetDashboardVersion(t *testing.T) {
query := m.GetDashboardVersionQuery{ query := m.GetDashboardVersionQuery{
DashboardId: savedDash.Id, DashboardId: savedDash.Id,
Version: savedDash.Version, Version: savedDash.Version,
OrgId: 1,
} }
err := GetDashboardVersion(&query) err := GetDashboardVersion(&query)
...@@ -54,6 +55,7 @@ func TestGetDashboardVersion(t *testing.T) { ...@@ -54,6 +55,7 @@ func TestGetDashboardVersion(t *testing.T) {
query := m.GetDashboardVersionQuery{ query := m.GetDashboardVersionQuery{
DashboardId: int64(999), DashboardId: int64(999),
Version: 123, Version: 123,
OrgId: 1,
} }
err := GetDashboardVersion(&query) err := GetDashboardVersion(&query)
......
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