mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix issue within auth test
This commit is contained in:
parent
d7b01c049d
commit
0146f65a44
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func TestGetAuth(t *testing.T) {
|
|||
t.Fatalf("%d OK or 0 expected, received %d\n", http.StatusOK, r.Code)
|
||||
}
|
||||
|
||||
newAuthConfig := srv.registry.GetAuthConfig()
|
||||
newAuthConfig := srv.registry.GetAuthConfig(false)
|
||||
if newAuthConfig.Username != authConfig.Username ||
|
||||
newAuthConfig.Email != authConfig.Email {
|
||||
t.Fatalf("The auth configuration hasn't been set correctly")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue