Skip to content

Commit

Permalink
Merge pull request #13077 from seamuslee001/lab_core_93
Browse files Browse the repository at this point in the history
(NFC) Add in unit test of dev/core#93 expansion to allow order by of more t…
  • Loading branch information
seamuslee001 authored Nov 10, 2018
2 parents 9467f0c + 6d5cedb commit e2b8ad4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/phpunit/CRM/Utils/TypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public function validateDataProvider() {
array('field(table.civicrm_column_name,4,5,6)', 'MysqlOrderBy', 'field(table.civicrm_column_name,4,5,6)'),
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'),
// Lab issue dev/core#93 allow for 3 column orderby
array('contact_id.gender_id.label', 'MysqlOrderBy', 'contact_id.gender_id.label'),
array('a string', 'String', 'a string'),
array('{"contact":{"contact_id":205}}', 'Json', '{"contact":{"contact_id":205}}'),
array('{"contact":{"contact_id":!n†rude®}}', 'Json', NULL),
Expand Down

0 comments on commit e2b8ad4

Please sign in to comment.