mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Updated tests in apier and general_tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
f21ed245ca
commit
1e6b59c7ee
@@ -738,15 +738,8 @@ func (iDB *InternalDB) GetActionsDrv(id string) (acts Actions, err error) {
|
||||
}
|
||||
|
||||
func (iDB *InternalDB) SetActionsDrv(id string, acts Actions) (err error) {
|
||||
utils.Logger.Debug("ENTER IN SET ACTIONS DRV ??? ")
|
||||
iDB.db.Set(utils.CacheActions, id, acts, nil,
|
||||
cacheCommit(utils.NonTransactional), utils.NonTransactional)
|
||||
utils.Logger.Debug("Set With Success ")
|
||||
x, ok := iDB.db.Get(utils.CacheActions, id)
|
||||
if !ok || x == nil {
|
||||
utils.Logger.Debug("NOT FOUND ")
|
||||
}
|
||||
utils.Logger.Debug(fmt.Sprintf("ACTIONS : %+v", utils.ToJSON(x.(Actions))))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user