Test cleanup in BAO_ParticipantTest
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 3 Jul 2023 02:05:39 +0000 (14:05 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 3 Jul 2023 02:05:39 +0000 (14:05 +1200)
commite5a8b242b4ffe4cb477e1c12ac22d6ce800ee345
tree22522d1fa50b83961fd0a06ec3abbea80b3b73e0
parent551b0a2486573e5d1d712b170068e83a16b68c07
Test cleanup in BAO_ParticipantTest

Fixes to use the trait. Also simplifies the fixEventLevel test
- the fixEventLevel function has a lot of set up with
some legacy function calls. However, the set up is not
relevent the the string-processing function being tested
tests/phpunit/CRM/Event/BAO/ParticipantTest.php
tests/phpunit/CRM/Event/Form/ParticipantTest.php
tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php
tests/phpunit/CRM/Event/Form/SearchTest.php