mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
Authenticate to "login" endpoint for non-existent mount path bug (#13162)
* changing response from missing client token to permission denied * removing todo comment * fix tests * adding changelog * fixing changelog
This commit is contained in:
@@ -315,8 +315,8 @@ func TestHandler_MissingToken(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if resp.StatusCode != 400 {
|
||||
t.Fatalf("expected code 400, got: %d", resp.StatusCode)
|
||||
if resp.StatusCode != 403 {
|
||||
t.Fatalf("expected code 403, got: %d", resp.StatusCode)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user