dev/core#2073 Fix use of legacy leaky method in tested code
authoreileen <emcnaughton@wikimedia.org>
Wed, 7 Oct 2020 20:37:26 +0000 (09:37 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 7 Oct 2020 20:37:26 +0000 (09:37 +1300)
commit808ca9206839659c3344cfa185c0d126a15d2d67
tree919587dcdfa2dd174a6268fb4a83abd028693b28
parent97240a74c1e9193627deed4309e0dadc5588cd16
dev/core#2073 Fix use of legacy leaky method in tested code

Overview
----------------------------------------
Fix use of legacy leaky method in tested code

Before
----------------------------------------
dao->query()

After
----------------------------------------
CRM_Core_DAO::executeQuery()

Technical Details
----------------------------------------
This is too low volume to really leak but it uses the leaky legacy method and
has test cover in

CRM_Import_DataSource_CsvTest.testToCsv with data set #0
CRM_Import_DataSource_CsvTest.testToCsv with data set #1
----------------------------------------
CRM/Import/DataSource/CSV.php