Ticket #35987: 35987.diff
| File 35987.diff, 770 bytes (added by , 10 years ago) |
|---|
-
tests/phpunit/tests/functions.php
681 681 } 682 682 683 683 /** 684 * @dataProvider file_type_provider 685 * @ticket 35987 686 */ 687 function test_wp_ext2type($expected, $extension) { 688 $this->assertEquals($expected, wp_ext2type($extension)); 689 } 690 691 function file_type_provider() { 692 return array( 693 array('image', 'JPG'), 694 array('audio', 'mp3'), 695 array('text', 'txt'), 696 array('code', 'php'), 697 array('spreadsheet', 'xls'), 698 array('interactive', 'swf'), 699 array(null, 'unknown_format') 700 ); 701 } 702 703 /** 684 704 * @ticket 33750 685 705 */ 686 706 function test_the_date() {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)