mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Fix merge problems
This commit is contained in:
committed by
Dan Christian Bogos
parent
c2e814a681
commit
537331be00
@@ -696,6 +696,9 @@ func TestDebitUsageCostIncrementError(t *testing.T) {
|
||||
expected := "NOT_CONNECTED: AttributeS"
|
||||
if _, err := aB.debitUsage(utils.NewDecimal(int64(20*time.Second), 0), cgrEv); err == nil || err.Error() != expected {
|
||||
t.Errorf("Expected %+v, received %+v", expected, err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestABCost(t *testing.T) {
|
||||
// debit 10 seconds with cost of 0.1 per second
|
||||
aB := &abstractBalance{
|
||||
|
||||
Reference in New Issue
Block a user