From 198b71789c0351b4a214fe56d9dd94a123f2df47 Mon Sep 17 00:00:00 2001 From: Neil-Jocelyn Schark <neil.schark@h-da.de> Date: Thu, 15 Aug 2024 01:16:36 +0200 Subject: [PATCH] notling for tests --- integration-tests/application_tests/application_test.go | 2 +- integration-tests/example_tests/example_test.go | 2 +- integration-tests/lab_tests/lab00_test.go | 2 +- integration-tests/networkElement_tests/networkElement_test.go | 2 +- integration-tests/rbac_tests/rbac_test.go | 2 +- integration-tests/topology_tests/topology_test.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go index 9b3797a55..bb2d89481 100644 --- a/integration-tests/application_tests/application_test.go +++ b/integration-tests/application_tests/application_test.go @@ -44,7 +44,7 @@ var defaultSDNConfig string var application *Application -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() if err != nil { fmt.Println(err.Error()) diff --git a/integration-tests/example_tests/example_test.go b/integration-tests/example_tests/example_test.go index 03f52081b..9ce5e5a3d 100644 --- a/integration-tests/example_tests/example_test.go +++ b/integration-tests/example_tests/example_test.go @@ -18,7 +18,7 @@ var ctx context.Context // A defaultSDN config with default/empty values. var defaultSDNConfig string -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() if err != nil { fmt.Println(err.Error()) diff --git a/integration-tests/lab_tests/lab00_test.go b/integration-tests/lab_tests/lab00_test.go index a2c5be701..d641811d1 100644 --- a/integration-tests/lab_tests/lab00_test.go +++ b/integration-tests/lab_tests/lab00_test.go @@ -29,7 +29,7 @@ var ctx context.Context // A defaultSDN config with default/empty values. var defaultSDNConfig string -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() if err != nil { fmt.Println(err.Error()) diff --git a/integration-tests/networkElement_tests/networkElement_test.go b/integration-tests/networkElement_tests/networkElement_test.go index 3765a25b0..99942da0a 100644 --- a/integration-tests/networkElement_tests/networkElement_test.go +++ b/integration-tests/networkElement_tests/networkElement_test.go @@ -35,7 +35,7 @@ var ctx context.Context // A defaultSDN config with default/empty values. var defaultSDNConfig string -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() if err != nil { fmt.Println(err.Error()) diff --git a/integration-tests/rbac_tests/rbac_test.go b/integration-tests/rbac_tests/rbac_test.go index 44cbc4fc1..c198a21ac 100644 --- a/integration-tests/rbac_tests/rbac_test.go +++ b/integration-tests/rbac_tests/rbac_test.go @@ -28,7 +28,7 @@ var ctx context.Context // A defaultSDN config with default/empty values. var defaultSDNConfig string -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() if err != nil { fmt.Println(err.Error()) diff --git a/integration-tests/topology_tests/topology_test.go b/integration-tests/topology_tests/topology_test.go index 54c625541..603896d39 100644 --- a/integration-tests/topology_tests/topology_test.go +++ b/integration-tests/topology_tests/topology_test.go @@ -20,7 +20,7 @@ var ctx context.Context // A defaultSDN config with default/empty values. var defaultSDNConfig string -func TestMain(m *testing.M) { +func TestMain(m *testing.M) { //nolint:staticcheck localConn, localCtx, err := integration_test_utils.CreateSecureConnection() //localConn, localCtx, err := integration_test_utils.CreateConnection() if err != nil { -- GitLab