mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Coverage in console
This commit is contained in:
committed by
Dan Christian Bogos
parent
0f19ba309d
commit
4a886761bc
@@ -120,3 +120,16 @@ func TestCmdParseLocalExecuteCase4(t *testing.T) {
|
||||
t.Errorf("Expected <%+v>, Received <%+v>", expected, err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCmdParseLocalExecuteCase5(t *testing.T) {
|
||||
// for coverage purpose
|
||||
testStruct := &CmdParse{
|
||||
rpcParams: &AttrParse{
|
||||
Expression: "~test_exp",
|
||||
Value: "~test_value",
|
||||
},
|
||||
}
|
||||
|
||||
testStruct.LocalExecute()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user