mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Replace interface{} with any
This commit is contained in:
committed by
Dan Christian Bogos
parent
1d7bd1389b
commit
113e2a2bdf
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user