Improved error MandatoryIeMissing

This commit is contained in:
adragusin
2020-03-13 12:12:22 +02:00
committed by Dan Christian Bogos
parent 5fd198bf71
commit d2fff7d7a5
2 changed files with 5 additions and 5 deletions

View File

@@ -413,7 +413,7 @@ func testAttributeSProcessEventMissing(t *testing.T) {
var rplyEv engine.AttrSProcessEventReply
if err := attrSRPC.Call(utils.AttributeSv1ProcessEvent,
ev, &rplyEv); err == nil ||
err.Error() != utils.ErrMandatoryIeMissing.Error() {
err.Error() != "MANDATORY_IE_MISSING: [Category]" {
t.Error(err)
}
}