[test] convert export test to handle exception rather than early return
authoreileen <emcnaughton@wikimedia.org>
Sat, 22 Jun 2019 22:58:20 +0000 (10:58 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 30 Jun 2019 21:55:56 +0000 (09:55 +1200)
commit68989e7178aaff4b9e0a39f903d75d745f308a26
treee7b44ccdb85fd9f204df16c0e72813fa4c4bdeb3
parenta172b9df71d23531da182325683b4518b63882ea
[test] convert export test to handle exception rather than early return

This is part of switching to testing the eventual output rather than the temp table created. In most cases the temp
table is not truly needed so testing the real output makes more sense
CRM/Core/Exception/PrematureExitException.php
CRM/Export/BAO/Export.php
CRM/Export/BAO/ExportProcessor.php
CRM/Utils/System.php
tests/phpunit/CRM/Export/BAO/ExportTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php