Fix issue within auth test

Upstream-commit: 0146f65a448d2d42271300f1477ea9fa378d6360
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-05-24 11:31:11 -07:00
parent 2b952c89ae
commit 0575fdb313

View File

@ -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")