mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 22:58:44 +05:00
Rename unit tests containing <fail> string (1.0)
This commit is contained in:
committed by
Dan Christian Bogos
parent
e43bf73d5f
commit
b7a03cabd5
@@ -1050,7 +1050,7 @@ func TestV1DebitConcretes(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestMultipleAccountsFail(t *testing.T) {
|
||||
func TestMultipleAccountsErr(t *testing.T) {
|
||||
engine.Cache.Clear(nil)
|
||||
cfg := config.NewDefaultCGRConfig()
|
||||
data := engine.NewInternalDB(nil, nil, true)
|
||||
|
||||
@@ -154,7 +154,7 @@ func TestSuretaxNewSureTaxRequestInvalidUnits(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestSuretaxSureTaxProcessCdrPostFail(t *testing.T) {
|
||||
func TestSuretaxSureTaxProcessCdrPostErr(t *testing.T) {
|
||||
CGRID := utils.Sha1("testOriginID", time.Date(2021, 1, 1, 8, 42, 20, 0, time.UTC).String())
|
||||
cdr := &CDR{
|
||||
CGRID: CGRID,
|
||||
|
||||
@@ -69,7 +69,7 @@ func TestCallCacheNoCaching(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestCallCacheReloadCacheFirstCallFail(t *testing.T) {
|
||||
func TestCallCacheReloadCacheFirstCallErr(t *testing.T) {
|
||||
tmp1, tmp2 := connMgr, Cache
|
||||
defer func() {
|
||||
connMgr = tmp1
|
||||
@@ -137,7 +137,7 @@ func TestCallCacheReloadCacheFirstCallFail(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestCallCacheReloadCacheSecondCallFailed(t *testing.T) {
|
||||
func TestCallCacheReloadCacheSecondCallErr(t *testing.T) {
|
||||
tmp1, tmp2 := connMgr, Cache
|
||||
defer func() {
|
||||
connMgr = tmp1
|
||||
|
||||
@@ -164,7 +164,7 @@ func TestDecimalNewDecimalFromString(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestDecimalNewDecimalFromStringFail(t *testing.T) {
|
||||
func TestDecimalNewDecimalFromStringErr(t *testing.T) {
|
||||
str := "testString"
|
||||
_, err := NewDecimalFromString(str)
|
||||
expected := "can't convert <" + str + "> to decimal"
|
||||
|
||||
@@ -200,7 +200,7 @@ func TestAsExtAccountCharge(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestECAsExtEventChargesFailAbstracts(t *testing.T) {
|
||||
func TestECAsExtEventChargesErrConvertAbstracts(t *testing.T) {
|
||||
v, _ := new(decimal.Big).SetString("900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993")
|
||||
|
||||
ec := &EventCharges{
|
||||
@@ -216,7 +216,7 @@ func TestECAsExtEventChargesFailAbstracts(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestECAsExtEventChargesFailConcretes(t *testing.T) {
|
||||
func TestECAsExtEventChargesErrConvertConcretes(t *testing.T) {
|
||||
v, _ := new(decimal.Big).SetString("900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993900719925474099390071992547409939007199254740993")
|
||||
|
||||
ec := &EventCharges{
|
||||
|
||||
Reference in New Issue
Block a user