mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 13:19:53 +05:00
use objectid time for orderid
This commit is contained in:
@@ -812,7 +812,7 @@ func TestMongoGetStoredCdrs(t *testing.T) {
|
||||
// Filter on orderIdStart and orderIdEnd
|
||||
if storedCdrs, _, err := mongoDb.GetStoredCdrs(&utils.CdrsFilter{OrderIdStart: orderIdStart, OrderIdEnd: orderIdEnd}); err != nil {
|
||||
t.Error(err.Error())
|
||||
} else if len(storedCdrs) != 0 { // TODO: find mongo equivalent
|
||||
} else if len(storedCdrs) != 20 { // TODO: find mongo equivalent
|
||||
t.Error("Unexpected number of StoredCdrs returned: ", len(storedCdrs))
|
||||
}
|
||||
// Filter on timeStart
|
||||
|
||||
Reference in New Issue
Block a user