From ca52723a9cd6b15d42a57c988e6bd5da95269da7 Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl@h-da.de> Date: Fri, 15 Dec 2023 10:20:54 +0100 Subject: [PATCH] fixed permission test not failing anymore --- integration-tests/rbac_tests/rbac_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/rbac_tests/rbac_test.go b/integration-tests/rbac_tests/rbac_test.go index 25da0782e..9a268f464 100644 --- a/integration-tests/rbac_tests/rbac_test.go +++ b/integration-tests/rbac_tests/rbac_test.go @@ -156,7 +156,6 @@ func TestUserWithoutPermission(t *testing.T) { Timestamp: time.Now().UnixNano(), User: []*apb.User{ { - Id: userUUID, Name: user1NameAndPW, Roles: map[string]string{pndID: roleName}, Password: user1NameAndPW, @@ -223,6 +222,7 @@ func TestUserWithoutPermission(t *testing.T) { loginResponse, err := authService.Login(context.Background(), loginRequest) if err != nil { t.Error(err) + t.FailNow() } sessionToken := integration_test_utils.CreateContextWithAuthorization(loginResponse) -- GitLab