Changeset 42743 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 02/25/2018 06:46:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r42742 r42743 2438 2438 $uploads_dir = wp_upload_dir( current_time( 'mysql' ) ); 2439 2439 2440 $expected = $uploads_dir['url'] . ' test-image-iptc.jpg';2440 $expected = $uploads_dir['url'] . '/test-image-iptc.jpg'; 2441 2441 2442 2442 // Clean up. … … 2444 2444 wp_delete_post( $parent_id ); 2445 2445 2446 $this->assert NotEquals( $expected, $url );2446 $this->assertSame( $expected, $url ); 2447 2447 } 2448 2448 }
Note: See TracChangeset
for help on using the changeset viewer.