Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
E
Events
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Development
  • Events
  • Issues
  • #18

Closed
Open
Created Oct 14, 2019 by mattwire@mattwireDeveloper

Implement tests for Event Registration pages

CRM/Event/Form/Registration/Register.php needs to be refactored like CRM/Contribute/Form/Contribution.php so that we can implement tests on submit.

CRM_Event_Form_Registration_Register::postProcess() needs splitting up to call a new function CRM_Event_Form_Registration_Register::submit().

Then we need to add CRM_Event_Form_Registration_Register::testSubmit() and write some tests to call this function.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking