fix build

This commit is contained in:
Radu Ioan Fericean
2016-05-06 18:55:33 +03:00
parent 5a5c20f0de
commit 7717332100

View File

@@ -812,7 +812,7 @@ func TestApierReloadCache(t *testing.T) {
return
}
reply := ""
arc := new(utils.ApiReloadCache)
arc := new(utils.AttrReloadCache)
// Simple test that command is executed without errors
if err := rater.Call("ApierV1.ReloadCache", arc, &reply); err != nil {
t.Error("Got error on ApierV1.ReloadCache: ", err.Error())
@@ -1236,7 +1236,7 @@ func TestApierResetDataBeforeLoadFromFolder(t *testing.T) {
}
TestApierInitDataDb(t)
reply := ""
arc := new(utils.ApiReloadCache)
arc := new(utils.AttrReloadCache)
// Simple test that command is executed without errors
if err := rater.Call("ApierV1.ReloadCache", arc, &reply); err != nil {
t.Error("Got error on ApierV1.ReloadCache: ", err.Error())
@@ -1282,7 +1282,7 @@ func TestApierResetDataAfterLoadFromFolder(t *testing.T) {
return
}
reply := ""
arc := new(utils.ApiReloadCache)
arc := new(utils.AttrReloadCache)
// Simple test that command is executed without errors
if err := rater.Call("ApierV1.ReloadCache", arc, &reply); err != nil {
t.Error("Got error on ApierV1.ReloadCache: ", err.Error())
@@ -1708,7 +1708,7 @@ func TestApierReloadCache2(t *testing.T) {
return
}
reply := ""
arc := new(utils.ApiReloadCache)
arc := new(utils.AttrReloadCache)
// Simple test that command is executed without errors
if err := rater.Call("ApierV1.ReloadCache", arc, &reply); err != nil {
t.Error("Got error on ApierV1.ReloadCache: ", err.Error())