mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Updated dispatcher matching
This commit is contained in:
committed by
Dan Christian Bogos
parent
0c80b7add1
commit
871e9f3ff6
@@ -281,7 +281,7 @@ func TestRegister(t *testing.T) {
|
||||
if _, err := register(req); err == nil {
|
||||
t.Errorf("Expected error,received: nil")
|
||||
}
|
||||
args2 = utils.NewServerRequest(utils.DispatcherSv1GetProfileForEvent, id, id)
|
||||
args2 = utils.NewServerRequest(utils.DispatcherSv1GetProfilesForEvent, id, id)
|
||||
args2JSON, err = json.Marshal(args2)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -290,7 +290,7 @@ func TestRegister(t *testing.T) {
|
||||
if _, err := register(req); err == nil {
|
||||
t.Errorf("Expected error,received: nil")
|
||||
}
|
||||
args2 = utils.NewServerRequest(utils.DispatcherSv1GetProfileForEvent, id, id)
|
||||
args2 = utils.NewServerRequest(utils.DispatcherSv1GetProfilesForEvent, id, id)
|
||||
args2JSON, err = json.Marshal(args2)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user