Fixed test failure.
authorMattias Michaux <mattias.michaux@gmail.com>
Sun, 8 May 2016 08:44:32 +0000 (10:44 +0200)
committerMattias Michaux <mattias.michaux@gmail.com>
Sun, 8 May 2016 08:44:32 +0000 (10:44 +0200)
tests/phpunit/CRM/Utils/TypeTest.php

index 793a5334bc121f4b7903d3c32d9f72993a94a79f..9271c5071b57835329850ff51c18279e2a3bc1fe 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('invalid-column-name', 'MysqlColumnName', NULL),
+      array('Home-street_address', 'MysqlColumnName', 'Home-street_address'),
       array('column_name, sleep(5)', 'MysqlColumnName', NULL),
       array('asc', 'MysqlOrderByDirection', 'asc'),
       array('DESC', 'MysqlOrderByDirection', 'desc'),