mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2025-12-25 06:00:35 +00:00
fix: Stupid logic error.
Some checks failed
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -26m2s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -25m39s
Build , Vet Test, and Lint / Build (push) Successful in -25m47s
Build , Vet Test, and Lint / Lint Code (push) Successful in -25m6s
Tests / Unit Tests (push) Failing after -26m5s
Tests / Integration Tests (push) Failing after -26m5s
Some checks failed
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -26m2s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -25m39s
Build , Vet Test, and Lint / Build (push) Successful in -25m47s
Build , Vet Test, and Lint / Lint Code (push) Successful in -25m6s
Tests / Unit Tests (push) Failing after -26m5s
Tests / Integration Tests (push) Failing after -26m5s
Co-authored-by: IvanX006 <ivan@bitechsystems.co.za> Co-authored-by: Warkanum <HEIN.PUTH@GMAIL.COM> Co-authored-by: Hein <hein@bitechsystems.co.za>
This commit is contained in:
parent
0525323a47
commit
63ed62a9a3
@ -402,7 +402,7 @@ func TestIntegration_GetMetadata(t *testing.T) {
|
|||||||
|
|
||||||
muxRouter.ServeHTTP(w, req)
|
muxRouter.ServeHTTP(w, req)
|
||||||
|
|
||||||
if !(w.Code == http.StatusOK && w.Code == http.StatusPartialContent) {
|
if !(w.Code == http.StatusOK || w.Code == http.StatusPartialContent) {
|
||||||
t.Errorf("Expected status 200, got %d. Body: %s", w.Code, w.Body.String())
|
t.Errorf("Expected status 200, got %d. Body: %s", w.Code, w.Body.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -493,7 +493,7 @@ func TestIntegration_QueryParamsOverHeaders(t *testing.T) {
|
|||||||
|
|
||||||
muxRouter.ServeHTTP(w, req)
|
muxRouter.ServeHTTP(w, req)
|
||||||
|
|
||||||
if !(w.Code == http.StatusOK && w.Code == http.StatusPartialContent) {
|
if !(w.Code == http.StatusOK || w.Code == http.StatusPartialContent) {
|
||||||
t.Errorf("Expected status 200, got %d", w.Code)
|
t.Errorf("Expected status 200, got %d", w.Code)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user