瀏覽代碼

Fix issue within auth test

Guillaume J. Charmes 12 年之前
父節點
當前提交
0146f65a44
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api_test.go

+ 1 - 1
api_test.go

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