Ticket #32971: 32971.diff
| File 32971.diff, 883 bytes (added by , 11 years ago) |
|---|
-
tests/phpunit/tests/post/attachments.php
68 68 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] ); 79 79
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)