Index: tests/phpunit/tests/functions.php
===================================================================
--- tests/phpunit/tests/functions.php	(revisão 36743)
+++ tests/phpunit/tests/functions.php	(cópia de trabalho)
@@ -681,6 +681,26 @@
 	}
 
 	/**
+	 * @dataProvider file_type_provider
+	 * @ticket 35987
+	 */
+	function test_wp_ext2type($expected, $extension) {
+		$this->assertEquals($expected, wp_ext2type($extension));
+	}
+
+	function file_type_provider() {
+		return array(
+			array('image', 'JPG'),
+			array('audio', 'mp3'),
+			array('text', 'txt'),
+			array('code', 'php'),
+			array('spreadsheet', 'xls'),
+			array('interactive', 'swf'),
+			array(null, 'unknown_format')			
+		);
+	}
+
+	/**
 	 * @ticket 33750
 	 */
 	function test_the_date() {
