diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 04:57:20 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 04:57:20 +0000 |
| commit | c45a425606776e937f4429402030aed8f2ab7436 (patch) | |
| tree | 5693fa14df57734d8bc910659fc6ce17876eb7e4 /src/git/mod.rs | |
| parent | c283c38add8d2b0e8359d8b03c064a188a43d6e0 (diff) | |
fix: respect Isolated mode in TestContext fixture helpers
Previously get_or_create_repo() and get_or_create_issue() always checked
the client cache first, bypassing the mode-based caching logic. This
caused fixture leaking across test suites when using the same AuditClient.
With this fix:
- In Isolated mode: helpers skip the cache, creating fresh fixtures
- In Shared mode: helpers use the cache for fixture reuse (unchanged)
This restores proper test isolation for push authorization tests that
were failing because they shared the same ValidRepo fixture.
Diffstat (limited to 'src/git/mod.rs')
0 files changed, 0 insertions, 0 deletions