Ticket #33470: 33470.patch
File 33470.patch, 720 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/tests/db.php
669 669 } 670 670 671 671 /** 672 * @ticket 33470 673 */ 674 function data_get_table_from_query_with_dash() { 675 $table = 'wp-posts'; 676 return array( 677 array( "SELECT * FROM $table", $table ), 678 ); 679 } 680 681 /** 682 * @dataProvider data_get_table_from_query_with_dash 683 * @ticket 33470 684 */ 685 function test_get_table_from_query_with_dash( $query, $table ) { 686 $this->assertEquals( $table, self::$_wpdb->get_table_from_query( $query ) ); 687 } 688 689 /** 672 690 * @ticket 21212 673 691 */ 674 692 function data_process_field_formats() {