mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
Fix mistype
This commit is contained in:
@@ -1906,9 +1906,9 @@ func TestAccountAsAccountDigest(t *testing.T) {
|
||||
len(expectAcntDigest.BalanceDigests) != len(acntDigest.BalanceDigests) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", expectAcntDigest, acntDigest)
|
||||
}
|
||||
// Since maps are unordered, slices will be too so we need to find element to compare before doing it
|
||||
// Since maps are unordered, slices will be too so we need to find element to compare
|
||||
for _, bd := range acntDigest.BalanceDigests {
|
||||
if b; d.ID == "sms1" && !reflect.DeepEqual(expectAcntDigest.BalanceDigests[0], bd) {
|
||||
if bd.ID == "sms1" && !reflect.DeepEqual(expectAcntDigest.BalanceDigests[0], bd) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", expectAcntDigest, acntDigest)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user