test(10.2-01): retarget moved package fixtures

- Resolve CLI and module-local fixtures from modules/ paths
- Keep root admin assets reachable from nested package tests
This commit is contained in:
Jakub Zych
2026-09-28 12:56:15 +02:00
parent 5e50b166ef
commit 57e7b56983
5 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ func TestPhase09ContractInventory(t *testing.T) {
if !ok {
t.Fatal("caller")
}
specPath := filepath.Clean(filepath.Join(filepath.Dir(file), "..", "admin", "openapi", "admin.json"))
specPath := filepath.Clean(filepath.Join(filepath.Dir(file), "..", "..", "admin", "openapi", "admin.json"))
raw, err := os.ReadFile(specPath)
if err != nil {
t.Fatalf("read %s: %v", specPath, err)