close
Skip to content

Add integration tests for CampTix admin functionality#1644

Merged
dd32 merged 2 commits intoproductionfrom
add/claude/camptix-admin-tests
Mar 10, 2026
Merged

Add integration tests for CampTix admin functionality#1644
dd32 merged 2 commits intoproductionfrom
add/claude/camptix-admin-tests

Conversation

@dd32
Copy link
Member

@dd32 dd32 commented Mar 10, 2026

Summary

  • Adds 58 integration tests covering CampTix admin areas in preparation for extracting admin code into dedicated addon files
  • Tests cover: ticket validation/inventory, coupon management (CRUD, validation, date checks), stats tracking, status transitions, options validation, revenue reporting, and post save logic
  • Includes helper methods for creating test fixtures and simulating admin saves

Test plan

  • All 58 tests pass in CI (5 revenue report tests skip gracefully when intl extension is unavailable)
  • Existing test suite remains green
  • Tests serve as a safety net for upcoming admin code extraction into camptix/addons/*.php

Generated with Claude Code

dd32 and others added 2 commits March 10, 2026 15:44
Adds 58 integration tests covering CampTix admin areas in preparation
for extracting admin code into dedicated addon files. Tests cover ticket
validation/inventory, coupon management, stats tracking, status
transitions, options validation, revenue reporting, and post save logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add doc comments to all test methods, use || instead of or, fix
multi-line function call formatting per PEAR standards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dd32 dd32 merged commit 8daccde into production Mar 10, 2026
5 checks passed
@dd32 dd32 deleted the add/claude/camptix-admin-tests branch March 10, 2026 06:26
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.

1 participant