From 8826caa135b9e4b456bfeff3b2a0e62dae1d3230 Mon Sep 17 00:00:00 2001 From: nickolasdaniel Date: Mon, 12 Jul 2021 15:12:34 +0300 Subject: [PATCH] Removed comments and changed test name from TestNatsER to TestNatsEE --- ees/nats_it_test.go | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/ees/nats_it_test.go b/ees/nats_it_test.go index 57928b22a..c502cc922 100644 --- a/ees/nats_it_test.go +++ b/ees/nats_it_test.go @@ -31,16 +31,7 @@ import ( "github.com/nats-io/nats.go" ) -// Start nats -// Start consumer -// Load config -// New EventExporter -// Check event, deserialize from nats - -// EventReader so we can read the event from nats and then EventExporter -// which reads the event from EventReader in order to export it. - -func TestNatsER(t *testing.T) { +func TestNatsEE(t *testing.T) { var err error cmd := exec.Command("nats-server", "-js") // Start the nats-server. if err := cmd.Start(); err != nil { @@ -119,8 +110,8 @@ func TestNatsER(t *testing.T) { cgrEv := &utils.CGREvent{ Tenant: "cgrates.org", Event: map[string]interface{}{ - "Account": "1001", - "Informatie": "Noua", + "Account": "1001", + "Destination": "1002", }, } if err := evExp.ExportEvent(cgrEv); err != nil {