- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/sanitizeOrderby.php
r53562 r55562 9 9 10 10 /** 11 * @dataProvider valid_orderbys11 * @dataProvider data_sanitize_sql_orderby_valid 12 12 */ 13 public function test_ valid( $orderby ) {13 public function test_sanitize_sql_orderby_valid( $orderby ) { 14 14 $this->assertSame( $orderby, sanitize_sql_orderby( $orderby ) ); 15 15 } 16 public function valid_orderbys() {16 public function data_sanitize_sql_orderby_valid() { 17 17 return array( 18 18 array( '1' ), … … 35 35 36 36 /** 37 * @dataProvider invalid_orderbys37 * @dataProvider data_sanitize_sql_orderby_invalid 38 38 */ 39 public function test_ invalid( $orderby ) {39 public function test_sanitize_sql_orderby_invalid( $orderby ) { 40 40 $this->assertFalse( sanitize_sql_orderby( $orderby ) ); 41 41 } 42 public function invalid_orderbys() {42 public function data_sanitize_sql_orderby_invalid() { 43 43 return array( 44 44 array( '' ),
Note: See TracChangeset
for help on using the changeset viewer.