Changeset 41017
- Timestamp:
- 07/07/2017 12:06:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/header.php
r41016 r41017 112 112 ) ); 113 113 114 $cropped = ' http://localhost/foo-cropped.png';114 $cropped = 'foo-cropped.png'; 115 115 116 116 $object = $this->custom_image_header->create_attachment_object( $cropped, $id ); 117 117 $this->assertEquals( 'foo-cropped.png', $object['post_title'] ); 118 $this->assertEquals( $cropped, $object['guid'] );118 $this->assertEquals( 'http://localhost/' . $cropped, $object['guid'] ); 119 119 $this->assertEquals( 'custom-header', $object['context'] ); 120 120 $this->assertEquals( 'image/jpeg', $object['post_mime_type'] ); … … 129 129 ) ); 130 130 131 $cropped = ' http://localhost/foo-cropped.png';131 $cropped = 'foo-cropped.png'; 132 132 $object = $this->custom_image_header->create_attachment_object( $cropped, $id ); 133 133
Note: See TracChangeset
for help on using the changeset viewer.