diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php index c7c0b2d1ab..dd908dfcf7 100644 --- a/tests/phpunit/tests/functions.php +++ b/tests/phpunit/tests/functions.php @@ -1356,35 +1356,6 @@ class Tests_Functions extends WP_UnitTestCase { 'proper_filename' => false, ), ), - // Assorted text/* sample files - array( - DIR_TESTDATA . '/uploads/test.vtt', - 'test.vtt', - array( - 'ext' => 'vtt', - 'type' => 'text/vtt', - 'proper_filename' => false, - ), - ), - array( - DIR_TESTDATA . '/uploads/test.csv', - 'test.csv', - array( - 'ext' => 'csv', - 'type' => 'text/csv', - 'proper_filename' => false, - ), - ), - // RTF files. - array( - DIR_TESTDATA . '/uploads/test.rtf', - 'test.rtf', - array( - 'ext' => 'rtf', - 'type' => 'application/rtf', - 'proper_filename' => false, - ), - ), ); // Test a few additional file types on single sites. @@ -1422,6 +1393,35 @@ class Tests_Functions extends WP_UnitTestCase { 'proper_filename' => false, ), ), + // Assorted text/* sample files + array( + DIR_TESTDATA . '/uploads/test.vtt', + 'test.vtt', + array( + 'ext' => 'vtt', + 'type' => 'text/vtt', + 'proper_filename' => false, + ), + ), + array( + DIR_TESTDATA . '/uploads/test.csv', + 'test.csv', + array( + 'ext' => 'csv', + 'type' => 'text/csv', + 'proper_filename' => false, + ), + ), + // RTF files. + array( + DIR_TESTDATA . '/uploads/test.rtf', + 'test.rtf', + array( + 'ext' => 'rtf', + 'type' => 'application/rtf', + 'proper_filename' => false, + ), + ), ) ); }