[NFC][test-fix] centralise use of assertLike for comparing sql
authoreileen <emcnaughton@wikimedia.org>
Thu, 6 Jun 2019 23:36:07 +0000 (11:36 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 6 Jun 2019 23:36:07 +0000 (11:36 +1200)
commit299c153089f54b5578604b1fc9b92112d77a27f4
tree6c092b6351befb1df96f758e2ccb60e8a2a94d2e
parent4741274a9552d061292dbcc5f65b3e5016d46eef
[NFC][test-fix] centralise use of assertLike for comparing sql

This function makes the tests cope with minor changes to whitespace in sql strings being compared
tests/phpunit/CRM/Contact/BAO/QueryTest.php
tests/phpunit/CRM/Contact/SelectorTest.php
tests/phpunit/CRM/Utils/SQL/InsertTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php