mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-10-08 22:36:28 +00:00
test(restheadspec): skip xfiles response test, fixture is not in the repo
This commit is contained in:
@@ -389,6 +389,8 @@ func TestXFilesRecursivePreloadDepth(t *testing.T) {
|
|||||||
// TestXFilesResponseStructure validates the actual structure of the response
|
// TestXFilesResponseStructure validates the actual structure of the response
|
||||||
// This test can be expanded when we have a full database integration test environment
|
// This test can be expanded when we have a full database integration test environment
|
||||||
func TestXFilesResponseStructure(t *testing.T) {
|
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
|
// Load the expected correct response
|
||||||
correctResponsePath := filepath.Join("..", "..", "tests", "data", "xfiles.response.correct.json")
|
correctResponsePath := filepath.Join("..", "..", "tests", "data", "xfiles.response.correct.json")
|
||||||
correctData, err := os.ReadFile(correctResponsePath)
|
correctData, err := os.ReadFile(correctResponsePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user