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

updated test data

parent b74931d0
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ func TestLogin(t *testing.T) {
args: args{
ctx: context.TODO(),
addr: testAPIEndpoint,
username: "admin",
username: "testAdmin",
pwd: "admin",
},
want: &apb.LoginResponse{
......@@ -38,7 +38,7 @@ func TestLogin(t *testing.T) {
},
}
err := userService.Add(&rbac.User{UserID: uuid.New(), UserName: "admin", Roles: map[string]string{pndID: "admin"}, Password: "admin"})
err := userService.Add(&rbac.User{UserID: uuid.New(), UserName: "testAdmin", Roles: map[string]string{pndID: "admin"}, Password: "admin"})
if err != nil {
t.Errorf("Login() error = %v", err)
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment