fix: leverage find_resource! macro in load_sse_fixture_with_id (#8888)

This helps prepare us for Bazel builds:
https://github.com/openai/codex/pull/8875.
This commit is contained in:
Michael Bolin
2026-01-08 06:34:05 -08:00
committed by GitHub
parent 0318f30ed8
commit 7520d8ba58
8 changed files with 18 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ use wiremock::matchers::query_param;
/// Build minimal SSE stream with completed marker using the JSON fixture.
fn sse_completed(id: &str) -> String {
load_sse_fixture_with_id("tests/fixtures/completed_template.json", id)
load_sse_fixture_with_id("../fixtures/completed_template.json", id)
}
#[expect(clippy::unwrap_used)]