diff --git tests/phpunit/tests/functions.php tests/phpunit/tests/functions.php
index d9e3d5f..8ea8fba 100644
|
|
|
class Tests_Functions extends WP_UnitTestCase { |
| 1301 | 1301 | 'proper_filename' => false, |
| 1302 | 1302 | ), |
| 1303 | 1303 | ), |
| | 1304 | // MP4 Video. |
| | 1305 | array( |
| | 1306 | DIR_TESTDATA . '/uploads/small-video.mp4', |
| | 1307 | 'small-video.mp4', |
| | 1308 | array( |
| | 1309 | 'ext' => 'mp4', |
| | 1310 | 'type' => 'video/mp4', |
| | 1311 | 'proper_filename' => false, |
| | 1312 | ), |
| | 1313 | ), |
| | 1314 | array( |
| | 1315 | DIR_TESTDATA . '/uploads/small-audio.mp4', |
| | 1316 | 'small-audio.mp4', |
| | 1317 | array( |
| | 1318 | 'ext' => 'm4a', |
| | 1319 | 'type' => 'audio/mpeg', |
| | 1320 | 'proper_filename' => 'small-audio.m4a', |
| | 1321 | ), |
| | 1322 | ), |
| | 1323 | array( |
| | 1324 | DIR_TESTDATA . '/uploads/small-video.ogg', |
| | 1325 | 'small-video.ogg', |
| | 1326 | array( |
| | 1327 | 'ext' => 'ogv', |
| | 1328 | 'type' => 'video/ogg', |
| | 1329 | 'proper_filename' => 'small-video.ogv', |
| | 1330 | ), |
| | 1331 | ), |
| | 1332 | array( |
| | 1333 | DIR_TESTDATA . '/uploads/small-audio.ogg', |
| | 1334 | 'small-audio.ogg', |
| | 1335 | array( |
| | 1336 | 'ext' => 'ogg', |
| | 1337 | 'type' => 'audio/ogg', |
| | 1338 | 'proper_filename' => false, |
| | 1339 | ), |
| | 1340 | ), |
| 1304 | 1341 | ) |
| 1305 | 1342 | ); |
| 1306 | 1343 | } |