Fix for CRM-18770.
authorAllen Shaw <allen@JoineryHQ.com>
Mon, 6 Jun 2016 19:39:06 +0000 (14:39 -0500)
committerAllen Shaw <allen@JoineryHQ.com>
Mon, 6 Jun 2016 19:39:06 +0000 (14:39 -0500)
tests/phpunit/CRM/Utils/TypeTest.php

index 3b6a853cecb59310480ea3d7a331146b43aabd61..832f535ef8f18dcd4f48caff64775f919ed41fd5 100644 (file)
@@ -58,6 +58,7 @@ class CRM_Utils_TypeTest extends CiviUnitTestCase {
       array('table.civicrm_column_name desc', 'MysqlOrderBy', 'table.civicrm_column_name desc'),
       array('table.civicrm_column_name desc,other_column, another_column desc', 'MysqlOrderBy', 'table.civicrm_column_name desc,other_column, another_column desc'),
       array('table.`Home-street_address` asc, `table-alias`.`Home-street_address` desc,`table-alias`.column', 'MysqlOrderBy', 'table.`Home-street_address` asc, `table-alias`.`Home-street_address` desc,`table-alias`.column'),
+      array('a string', 'String', 'a string'),
     );
   }