CiviUnitTestCase - Inline misleading function 'getConnection'
authorTim Otten <totten@civicrm.org>
Thu, 15 Dec 2022 07:04:05 +0000 (23:04 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 16 Dec 2022 05:03:15 +0000 (21:03 -0800)
commit8978e6b53b62c37e285ad50f7769127aaa14508b
tree2fb258ac5652da1e94910fc2e232a68928064820
parente626ac36ee6b1d89ac73f35b7717fe37f52902d0
CiviUnitTestCase - Inline misleading function 'getConnection'

This function returns a connection that nobody uses.  It has only one
caller.  It's mostly interesting because it can reset the database.
Hiding it under the name `getConnection` is misleading.
tests/phpunit/CiviTest/CiviUnitTestCase.php