function DatabaseSelectTableSortDefaultTestCase::testTableSortDefaultSort
Confirm that if a sort is not set in a tableselect form there is no error thrown when using the default.
File
-
modules/
simpletest/ tests/ database_test.test, line 2780
Class
Code
function testTableSortDefaultSort() {
$this->drupalGet('database_test/tablesort_default_sort');
// Any PHP errors or notices thrown would trigger a simpletest exception, so
// no additional assertions are needed.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.