ldap_client_test.go: Forgot to change an assertion related to groups
This commit is contained in:
parent
65cab53a11
commit
dab5ff3788
@ -525,7 +525,7 @@ func TestSimultaneousRequestsOnSingleProvider(t *testing.T) {
|
|||||||
require.NoError(t, result.err)
|
require.NoError(t, result.err)
|
||||||
require.True(t, result.authenticated, "expected the user to be authenticated, but they were not")
|
require.True(t, result.authenticated, "expected the user to be authenticated, but they were not")
|
||||||
require.Equal(t, &authenticator.Response{
|
require.Equal(t, &authenticator.Response{
|
||||||
User: &user.DefaultInfo{Name: "pinny", UID: "1000", Groups: []string{}},
|
User: &user.DefaultInfo{Name: "pinny", UID: "1000", Groups: []string{"ball-game-players", "seals"}},
|
||||||
}, result.response)
|
}, result.response)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user