예제 #1
0
func TestAuthSetStorage(t *testing.T) {
	ratingDbAuth, _ = engine.NewMapStorageJson()
	engine.SetRatingStorage(ratingDbAuth)
	acntDbAuth, _ = engine.NewMapStorageJson()
	engine.SetAccountingStorage(acntDbAuth)
	cfg, _ := config.NewDefaultCGRConfig()
	config.SetCgrConfig(cfg)
	rsponder = new(engine.Responder)

}
예제 #2
0
func TestCosts1SetStorage(t *testing.T) {
	ratingDb, _ = engine.NewMapStorageJson()
	engine.SetRatingStorage(ratingDb)
	acntDb, _ = engine.NewMapStorageJson()
	engine.SetAccountingStorage(acntDb)
}
예제 #3
0
func TestSetStorage2(t *testing.T) {
	ratingDb2, _ = engine.NewMapStorageJson()
	engine.SetRatingStorage(ratingDb2)
	acntDb2, _ = engine.NewMapStorageJson()
	engine.SetAccountingStorage(acntDb2)
}
예제 #4
0
func TestAcntActsSetStorage(t *testing.T) {
	ratingDbAcntActs, _ = engine.NewMapStorageJson()
	engine.SetRatingStorage(ratingDbAcntActs)
	acntDbAcntActs, _ = engine.NewMapStorageJson()
	engine.SetAccountingStorage(acntDbAcntActs)
}
예제 #5
0
func TestSMSSetStorageSmsChrg1(t *testing.T) {
	ratingDb, _ = engine.NewMapStorageJson()
	engine.SetRatingStorage(ratingDb)
	acntDb, _ = engine.NewMapStorageJson()
	engine.SetAccountingStorage(acntDb)
}