Changeset 31239 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 01/18/2015 08:32:50 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r31066 r31239 502 502 } 503 503 504 /** 505 * @ticket 31044 506 */ 507 function test_attachment_url_to_postid_with_empty_url() { 508 $post_id = attachment_url_to_postid( '' ); 509 $this->assertInternalType( 'int', $post_id ); 510 $this->assertEquals( 0, $post_id ); 511 } 512 504 513 function test_wp_check_filetype() { 505 514 $url = 'http://example.com/testFile.mp4?autoplay=true&otherstuff=false';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)