diff --git a/apier/v1/apier_local_test.go b/apier/v1/apier_local_test.go index 529d220c8..9b77d30d0 100644 --- a/apier/v1/apier_local_test.go +++ b/apier/v1/apier_local_test.go @@ -1344,7 +1344,7 @@ func TestGetCallCostLog(t *testing.T) { } attrs.CgrId = "dummyid" attrs.RunId = "default" - if err := rater.Call("ApierV1.GetCallCostLog", attrs, &cc); err == nil || err.Error() != utils.ERR_NOT_FOUND { + if err := rater.Call("ApierV1.GetCallCostLog", attrs, &cc); err == nil || err.Error() != "SERVER_ERROR:Record Not Found" { t.Error("ApierV1.GetCallCostLog: should return NOT_FOUND") } }