Make WordPress Core


Ignore:
Timestamp:
04/20/2015 06:38:08 AM (11 years ago)
Author:
pento
Message:

Revert [30640], as it was incorrectly checking some filenames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/media.php

    r31694 r32171  
    532532    }
    533533
    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 
    544534    /**
    545535     * @ticket 22768
Note: See TracChangeset for help on using the changeset viewer.