Skip to content

Add document approval workflow pause/resume integration test - #59

Merged
benrowe merged 2 commits into
masterfrom
claude/github-issues-review-gkgpwu
Jun 30, 2026
Merged

Add document approval workflow pause/resume integration test#59
benrowe merged 2 commits into
masterfrom
claude/github-issues-review-gkgpwu

Conversation

@benrowe

@benrowe benrowe commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds an integration test demonstrating a document approval workflow: a permission gate, a format-validation action, an approval-request action that pauses with metadata, then resume into a publish action and a notification action.
  • Final assertion confirms the document's state transitions to published via real State::with() mutation, and that resuming doesn't re-execute already-completed actions.
  • Test-only change — no src/ modifications, since pause/resume is already fully implemented.

Closes #17

Test plan

  • composer test:single tests/Integration/StateFlow/DocumentApprovalWorkflowTest.php — passes (1 test, 12 assertions)
  • composer lint — clean
  • composer quality (PHPStan + PHPMD) — no errors
  • composer test (full suite) — 405 tests, 1333 assertions, all green

Generated by Claude Code

@benrowe
benrowe merged commit 3141347 into master Jun 30, 2026
8 checks passed
@benrowe
benrowe deleted the claude/github-issues-review-gkgpwu branch June 30, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test: Document Approval Workflow with Pause Integration

2 participants