Changeset 33188
- Timestamp:
- 07/13/2015 03:33:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/attachments.php
r32919 r33188 69 69 // medium and full size will both point to the original 70 70 $downsize = image_downsize($id, 'medium'); 71 $this->assertEquals( 'test-image.jpg', basename($downsize[0]) );71 $this->assertEquals( basename( $upload['file'] ), basename($downsize[0]) ); 72 72 $this->assertEquals( 50, $downsize[1] ); 73 73 $this->assertEquals( 50, $downsize[2] ); 74 74 75 75 $downsize = image_downsize($id, 'full'); 76 $this->assertEquals( 'test-image.jpg', basename($downsize[0]) );76 $this->assertEquals( basename( $upload['file'] ), basename($downsize[0]) ); 77 77 $this->assertEquals( 50, $downsize[1] ); 78 78 $this->assertEquals( 50, $downsize[2] );
Note: See TracChangeset
for help on using the changeset viewer.