Changeset 51331 for trunk/tests/phpunit/tests/functions/wpGetMimeTypes.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpGetMimeTypes.php
r49006 r51331 15 15 $mime_types_start = wp_get_mime_types(); 16 16 17 $this->assertI nternalType( 'array',$mime_types_start );17 $this->assertIsArray( $mime_types_start ); 18 18 $this->assertNotEmpty( $mime_types_start ); 19 19 … … 24 24 remove_filter( 'mime_types', '__return_empty_array' ); 25 25 $mime_types = wp_get_mime_types(); 26 $this->assertI nternalType( 'array',$mime_types );26 $this->assertIsArray( $mime_types ); 27 27 $this->assertNotEmpty( $mime_types ); 28 28 // Did it revert to the original after filter remove?
Note: See TracChangeset
for help on using the changeset viewer.