Changing charging_tests to general_tests to reflect more general tests inside

This commit is contained in:
DanB
2014-04-09 15:40:17 +02:00
parent 9fcf43f8b4
commit 5d29ce3d61
2 changed files with 232 additions and 2 deletions

View File

@@ -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 {

File diff suppressed because one or more lines are too long