verified refund test

fixes #320
This commit is contained in:
Radu Ioan Fericean
2016-01-06 19:02:51 +02:00
parent 79dc7d5400
commit 3d2fae73b6

View File

@@ -110,7 +110,7 @@ func TestSMGTPFromFolder(t *testing.T) {
time.Sleep(time.Duration(*waitRater) * time.Millisecond) // Give time for scheduler to execute topups
}
func TestSMGMonetaryRefound(t *testing.T) {
func TestSMGMonetaryRefund(t *testing.T) {
if !*testIntegration {
return
}
@@ -165,7 +165,7 @@ func TestSMGMonetaryRefound(t *testing.T) {
}
attrs = &utils.AttrGetAccount{Tenant: "cgrates.org", Account: "1001"}
eAcntVal = 8.733201
eAcntVal = 8.8
if err := smgRPC.Call("ApierV2.GetAccount", attrs, &acnt); err != nil {
t.Error(err)
} else if acnt.BalanceMap[utils.MONETARY].GetTotalValue() != eAcntVal {
@@ -173,7 +173,7 @@ func TestSMGMonetaryRefound(t *testing.T) {
}
}
func TestSMGVoiceRefound(t *testing.T) {
func TestSMGVoiceRefund(t *testing.T) {
if !*testIntegration {
return
}