diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-27 15:49:27 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-27 15:49:27 +0000 |
| commit | bf93f737aeec7b0ba6d007e867a55a8528615c23 (patch) | |
| tree | 986dabfa0d1486d3f7b83c2a982e8424c296c964 /docs/tutorials | |
| parent | 6a77173127b5915c4c1b9219924e793795e0d051 (diff) | |
Task 2: Refactor owner push authorization test to fixture-first pattern
- Refactored test_push_authorized_by_owner_state to use fixture-first pattern
- Test now creates its own TestContext and uses FixtureKind::RepoState
- Uses git helper functions from fixtures.rs (clone_repo, create_deterministic_commit, try_push)
- Follows the 3-step pattern: Generate fixtures → Send to relay → Verify behavior
- Deprecated setup_repo_with_deterministic_commit with migration guide
- Test passes: cargo test --test push_authorization test_push_authorized_by_owner_state
- No API changes required for main project tests
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions