From 4868257e4d94a54638cf8d65eda24b0261e8c8bd Mon Sep 17 00:00:00 2001
From: Fabian Seidl <fabian.seidl@h-da.de>
Date: Thu, 11 Jan 2024 14:13:11 +0100
Subject: [PATCH] test ci removed defer in main

---
 integration-tests/application_tests/application_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go
index 2b40a5844..2b8636090 100644
--- a/integration-tests/application_tests/application_test.go
+++ b/integration-tests/application_tests/application_test.go
@@ -58,8 +58,8 @@ func TestMain(m *testing.M) {
 		fmt.Println(err.Error())
 	}
 
-	defer integration_test_utils.ApplySDNConfig(conn, ctx, defaultSDNConfig)
-	defer integration_test_utils.CleanUserAndRolesExceptAdmin(conn, ctx)
+	integration_test_utils.ApplySDNConfig(conn, ctx, defaultSDNConfig)
+	integration_test_utils.CleanUserAndRolesExceptAdmin(conn, ctx)
 
 	topics := []event.Topic{event.ManagedNetworkElement, event.User, event.Role}
 
-- 
GitLab