mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changing charging_tests to general_tests to reflect more general tests inside
This commit is contained in:
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
|
||||
package charging_tests
|
||||
package general_tests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
@@ -115,7 +115,7 @@ TOPUP10_AT,TOPUP10_AC1,ASAP,10`
|
||||
|
||||
func TestExecuteActions(t *testing.T) {
|
||||
scheduler.NewScheduler().LoadActionTimings(acntDb)
|
||||
time.Sleep(time.Duration(500) * time.Microsecond) // Give time to scheduler to topup the account
|
||||
time.Sleep(time.Duration(10000) * time.Microsecond) // Give time to scheduler to topup the account
|
||||
if acnt, err := acntDb.GetAccount("*out:cgrates.org:12345"); err != nil {
|
||||
t.Error(err)
|
||||
} else if len(acnt.BalanceMap) != 2 {
|
||||
230
general_tests/fsevcorelate_test.go
Normal file
230
general_tests/fsevcorelate_test.go
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user