test(restheadspec): skip xfiles response test, fixture is not in the repo
Tests / Integration Tests (push) Skipped
Build , Vet Test, and Lint / Build (push) Successful in 1m33s
Tests / Unit Tests (push) Successful in 2m6s
Build , Vet Test, and Lint / Lint Code (push) Successful in 2m15s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in 2m26s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in 2m26s
Tests / Race Detector (push) Successful in 4m35s

This commit is contained in:
2026-10-08 00:01:16 +02:00
parent d2f33b8f7d
commit 5b6406ef38
@@ -389,6 +389,8 @@ func TestXFilesRecursivePreloadDepth(t *testing.T) {
// TestXFilesResponseStructure validates the actual structure of the response
// This test can be expanded when we have a full database integration test environment
func TestXFilesResponseStructure(t *testing.T) {
t.Skip("disabled: needs tests/data/xfiles.response.correct.json, which is gitignored and not in the repo")
// Load the expected correct response
correctResponsePath := filepath.Join("..", "..", "tests", "data", "xfiles.response.correct.json")
correctData, err := os.ReadFile(correctResponsePath)