Debug: wtf
Some checks failed
Go test / run-go-vet (push) Successful in 6s
Go test / check-swagger-up-to-date (push) Successful in 9s
Go test / run-go-test (push) Successful in 20s
Go test / cleanup-go-test (push) Successful in 4s
Go test / release-image (push) Has been cancelled

This commit is contained in:
2025-12-13 02:17:46 +08:00
parent e6c46f29f5
commit fd02363da4
6 changed files with 36 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ func Test_02_PostImage(t *testing.T) {
resp, err := client.R().
SetBody(rawImage).
SetResult(&image).
Post("http://localhost:8080/api/image")
Post("/api/image")
if err != nil || resp.StatusCode() != http.StatusOK {
t.Logf("%+v", resp)