mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
More tuning and working on vacuum support
noticed a couple of stange things with vacuum Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -481,7 +481,7 @@ func TestDigitalOceanAsDocFromSHA(t *testing.T) {
|
||||
}
|
||||
config.RemoteURLHandler = func(url string) (*http.Response, error) {
|
||||
request, _ := http.NewRequest(http.MethodGet, url, nil)
|
||||
request.Header.Set("Authorization", fmt.Sprintf("Bearer %s", os.Getenv("GITHUB_TOKEN")))
|
||||
request.Header.Set("Authorization", fmt.Sprintf("Bearer %s", os.Getenv("GH_PAT")))
|
||||
return client.Do(request)
|
||||
}
|
||||
}
|
||||
@@ -506,7 +506,7 @@ func TestDigitalOceanAsDocFromMain(t *testing.T) {
|
||||
}
|
||||
|
||||
config.Logger = slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
|
||||
Level: slog.LevelDebug,
|
||||
Level: slog.LevelError,
|
||||
}))
|
||||
|
||||
if os.Getenv("GH_PAT") != "" {
|
||||
|
||||
Reference in New Issue
Block a user