mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated unit test
This commit is contained in:
committed by
Dan Christian Bogos
parent
34206fa765
commit
67c6e8618c
@@ -7281,7 +7281,10 @@ func TestModelHelpersAccountProfileToAPI(t *testing.T) {
|
||||
},
|
||||
ThresholdIDs: []string{"test_thrs"},
|
||||
}
|
||||
result := AccountProfileToAPI(testStruct)
|
||||
result, err := AccountProfileToAPI(testStruct)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if reflect.DeepEqual(result, expStruct) {
|
||||
t.Errorf("\nExpecting <%+v>,\n Received <%+v>", utils.ToJSON(expStruct), utils.ToJSON(result))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user