Skip to content
Snippets Groups Projects
Commit ca52723a authored by Fabian Seidl's avatar Fabian Seidl
Browse files

fixed permission test not failing anymore

parent c42bcc54
No related branches found
No related tags found
1 merge request!652Resolve "Implement integration tests for RBAC"
Pipeline #175818 passed
This commit is part of merge request !652. Comments created here will be created in the context of that merge request.
...@@ -156,7 +156,6 @@ func TestUserWithoutPermission(t *testing.T) { ...@@ -156,7 +156,6 @@ func TestUserWithoutPermission(t *testing.T) {
Timestamp: time.Now().UnixNano(), Timestamp: time.Now().UnixNano(),
User: []*apb.User{ User: []*apb.User{
{ {
Id: userUUID,
Name: user1NameAndPW, Name: user1NameAndPW,
Roles: map[string]string{pndID: roleName}, Roles: map[string]string{pndID: roleName},
Password: user1NameAndPW, Password: user1NameAndPW,
...@@ -223,6 +222,7 @@ func TestUserWithoutPermission(t *testing.T) { ...@@ -223,6 +222,7 @@ func TestUserWithoutPermission(t *testing.T) {
loginResponse, err := authService.Login(context.Background(), loginRequest) loginResponse, err := authService.Login(context.Background(), loginRequest)
if err != nil { if err != nil {
t.Error(err) t.Error(err)
t.FailNow()
} }
sessionToken := integration_test_utils.CreateContextWithAuthorization(loginResponse) sessionToken := integration_test_utils.CreateContextWithAuthorization(loginResponse)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment