[Ref] [Test] Move custom search tests to extension
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Aug 2021 00:17:00 +0000 (12:17 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Aug 2021 05:34:47 +0000 (17:34 +1200)
commitb90b7a57842284582a19b58a32ab13da3fbeade3
tree53d5ef2c66cf65fe3c3ccf7d4a174543229686cb
parent1ec58feb156bc3bb806fe3b38dd9ee122ec3c89b
[Ref] [Test] Move custom search tests to extension

This is a bit of a big lift because I had to re-write the tests a bit to run in the extension context -
but all part of the process of core extensionising. Still not gonna tackle another one of the classes today
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Base.php
ext/legacycustomsearches/phpunit.xml.dist [new file with mode: 0644]
ext/legacycustomsearches/tests/phpunit/Civi/Searches/SampleTest.php [new file with mode: 0644]
ext/legacycustomsearches/tests/phpunit/bootstrap.php [new file with mode: 0644]
tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php [deleted file]
tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTestDataProvider.php [deleted file]
tests/phpunit/CRM/Contact/Form/Search/Custom/datasets/sample-dataset.xml [deleted file]