Replace interface{} with any

This commit is contained in:
ionutboangiu
2023-05-29 11:44:03 -04:00
committed by Dan Christian Bogos
parent 1d7bd1389b
commit 113e2a2bdf
628 changed files with 7230 additions and 7230 deletions

View File

@@ -289,7 +289,7 @@ func testCallCheckResourceBeforeAllocation(t *testing.T) {
CGREvent: &utils.CGREvent{
Tenant: "cgrates.org",
ID: "ResourceEvent",
Event: map[string]interface{}{
Event: map[string]any{
utils.AccountField: "1001",
utils.Subject: "1001",
utils.Destination: "1002",
@@ -440,7 +440,7 @@ func testCallCheckResourceAllocation(t *testing.T) {
CGREvent: &utils.CGREvent{
Tenant: "cgrates.org",
ID: "ResourceAllocation",
Event: map[string]interface{}{
Event: map[string]any{
utils.AccountField: "1001",
utils.Subject: "1001",
utils.Destination: "1002",
@@ -630,7 +630,7 @@ func testCallCheckResourceRelease(t *testing.T) {
CGREvent: &utils.CGREvent{
Tenant: "cgrates.org",
ID: "ResourceRelease",
Event: map[string]interface{}{
Event: map[string]any{
utils.AccountField: "1001",
utils.Subject: "1001",
utils.Destination: "1002",
@@ -707,7 +707,7 @@ func testCallSyncSessions(t *testing.T) {
CGREvent: &utils.CGREvent{
Tenant: "cgrates.org",
ID: "AllocateResource",
Event: map[string]interface{}{
Event: map[string]any{
utils.AccountField: "1001",
utils.Subject: "1001",
utils.Destination: "1002",