mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
first draft for lcr docs
This commit is contained in:
@@ -183,6 +183,8 @@ func TestLcrGet(t *testing.T) {
|
||||
Subject: "rif",
|
||||
}
|
||||
lcrs, err := cd.GetLCR(nil)
|
||||
//lcr, _ := json.Marshal(lcrs[0])
|
||||
//log.Print("LCR: ", string(lcr))
|
||||
if err != nil || len(lcrs) != 1 {
|
||||
t.Errorf("Bad lcr: %+v, %v", lcrs, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user