Fixed some tests

This commit is contained in:
nickolasdaniel
2022-03-31 17:26:47 +03:00
committed by Dan Christian Bogos
parent 29d00f074b
commit 46b94ec84e

View File

@@ -227,7 +227,7 @@ func TestRemoveFilterIndexes(t *testing.T) {
if reply != utils.OK {
t.Error("Expected OK")
}
if args.ItemType != utils.DispatcherFilterIndexes {
if args.ItemType != utils.CacheDispatcherFilterIndexes {
t.Errorf("Expected %v\n but received %v", utils.DispatcherFilterIndexes, args.ItemType)
}
@@ -246,7 +246,7 @@ func TestRemoveFilterIndexes(t *testing.T) {
if reply != utils.OK {
t.Error("Expected OK")
}
if args.ItemType != utils.AttributeFilterIndexes {
if args.ItemType != utils.CacheAttributeFilterIndexes {
t.Errorf("Expected %v\n but received %v", utils.AttributeFilterIndexes, args.ItemType)
}
}