Changes between Initial Version and Version 1 of Ticket #36589
- Timestamp:
- 04/19/2016 09:10:09 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36589 – Description
initial v1 1 1 `Tests_Image_Header::test_create_attachment_object()` and `Tests_Image_Header::test_insert_cropped_attachment()` are passing `http://localhost/foo-cropped.png` to `Custom_Image_Header::create_attachment_object()`. This method is using `getimagesize()` for the URL. I'm not sure if this a config issue but it seems like the timeout is pretty high so the tests are taking a minute to complete. 2 2 3 Output by SpeedTrapListener:3 Output of PHPunit: 4 4 5 5 {{{ 6 1. 60031ms to run Tests_WP_Site_Icon:test_create_attachment_object 7 2. 60030ms to run Tests_WP_Site_Icon:test_insert_cropped_attachment 6 1) Tests_Image_Header::test_create_attachment_object 7 ImagickException: getimagesize(http://localhost/foo-cropped.png): failed to open stream: Connection refused 8 9 src/wp-admin/custom-header.php:1160 10 tests/phpunit/tests/image/header.php:116 11 12 2) Tests_Image_Header::test_insert_cropped_attachment 13 ImagickException: getimagesize(http://localhost/foo-cropped.png): failed to open stream: Connection refused 14 15 src/wp-admin/custom-header.php:1160 16 tests/phpunit/tests/image/header.php:132 8 17 }}}