mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
update integration test in apier/v1
This commit is contained in:
committed by
Dan Christian Bogos
parent
b8f75a831c
commit
05d4acab5a
@@ -172,7 +172,7 @@ func TestSessionSv1ItGetThreshold(t *testing.T) {
|
||||
func TestSessionSv1ItAuth(t *testing.T) {
|
||||
args := &sessions.V1AuthorizeArgs{
|
||||
AuthorizeResources: true,
|
||||
ProcessThresholds: utils.BoolPointer(true),
|
||||
ProcessThresholds: true,
|
||||
CGREvent: utils.CGREvent{
|
||||
Tenant: "cgrates.org",
|
||||
ID: "TestSSv1ItAuth",
|
||||
@@ -236,7 +236,7 @@ func TestSessionSv1ItInitiateSession(t *testing.T) {
|
||||
args := &sessions.V1InitSessionArgs{
|
||||
InitSession: true,
|
||||
AllocateResources: true,
|
||||
ProcessThresholds: utils.BoolPointer(true),
|
||||
ProcessThresholds: true,
|
||||
CGREvent: utils.CGREvent{
|
||||
Tenant: "cgrates.org",
|
||||
ID: "TestSSv1ItInitiateSession",
|
||||
@@ -301,7 +301,7 @@ func TestSessionSv1ItTerminateSession(t *testing.T) {
|
||||
args := &sessions.V1TerminateSessionArgs{
|
||||
TerminateSession: true,
|
||||
ReleaseResources: true,
|
||||
ProcessThresholds: utils.BoolPointer(true),
|
||||
ProcessThresholds: true,
|
||||
CGREvent: utils.CGREvent{
|
||||
Tenant: "cgrates.org",
|
||||
ID: "TestSSv1ItTerminateSession",
|
||||
|
||||
@@ -426,8 +426,8 @@ CREATE TABLE tp_stats (
|
||||
"activation_interval" varchar(64) NOT NULL,
|
||||
"queue_length" INTEGER NOT NULL,
|
||||
"ttl" varchar(32) NOT NULL,
|
||||
"metrics" varchar(64) NOT NULL,
|
||||
"parameters" varchar(64) NOT NULL,
|
||||
"metrics" VARCHAR(128) NOT NULL,
|
||||
"parameters" VARCHAR(128) NOT NULL,
|
||||
"blocker" BOOLEAN NOT NULL,
|
||||
"stored" BOOLEAN NOT NULL,
|
||||
"weight" decimal(8,2) NOT NULL,
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
{"address": "127.0.0.1:2012", "transport": "*json"}
|
||||
],
|
||||
"debit_interval": "10s",
|
||||
"channel_sync_interval":"7s",
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user