fixed unit tests

This commit is contained in:
Torkel Ödegaard
2017-11-21 11:53:56 +01:00
parent 8daff73ba2
commit ccbdb29f07
2 changed files with 3 additions and 3 deletions
@@ -110,7 +110,7 @@ func TestDeleteExpiredVersions(t *testing.T) {
versionsToWrite := 10
setting.DashboardVersionsToKeep = versionsToKeep
savedDash := insertTestDashboard("test dash 53", 1, "diff-all")
savedDash := insertTestDashboard("test dash 53", 1, 0, false, "diff-all")
for i := 0; i < versionsToWrite-1; i++ {
updateTestDashboard(savedDash, map[string]interface{}{
"tags": "different-tag",