Fixed escape test failure.
authorMattias Michaux <mattias.michaux@gmail.com>
Sun, 8 May 2016 12:55:30 +0000 (14:55 +0200)
committerMattias Michaux <mattias.michaux@gmail.com>
Sun, 8 May 2016 12:55:30 +0000 (14:55 +0200)
tests/phpunit/CRM/Utils/TypeTest.php

index 9271c5071b57835329850ff51c18279e2a3bc1fe..367f08e299e293b958eac165b1b6d34eb1106b5c 100644 (file)
@@ -93,7 +93,7 @@ class CRM_Utils_TypeTest extends CiviUnitTestCase {
       array('civicrm_column_name', 'MysqlColumnName', '`civicrm_column_name`'),
       array('table.civicrm_column_name', 'MysqlColumnName', '`table`.`civicrm_column_name`'),
       array('table.civicrm_column_name.toomanydots', 'MysqlColumnName', NULL),
-      array('Home-street_address', 'MysqlColumnName', 'Home-street_address'),
+      array('Home-street_address', 'MysqlColumnName', '`Home-street_address`'),
       array('column_name, sleep(5)', 'MysqlColumnName', NULL),
       array('asc', 'MysqlOrderByDirection', 'asc'),
       array('DESC', 'MysqlOrderByDirection', 'desc'),