Changeset 32171 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 04/20/2015 06:38:08 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r31694 r32171 532 532 } 533 533 534 function test_wp_check_filetype() {535 $url = 'http://example.com/testFile.mp4?autoplay=true&otherstuff=false';536 $filetype = wp_check_filetype( $url );537 $expected = array(538 'ext' => 'mp4',539 'type' => 'video/mp4'540 );541 $this->assertEquals( $expected, $filetype );542 }543 544 534 /** 545 535 * @ticket 22768
Note: See TracChangeset
for help on using the changeset viewer.