You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
This probably needs to be investigated. My Travis CI build failed due to this:
There was 1 failure:
1) Faker\Test\Provider\ImageTest::testDownloadWithDefaults
Failed asserting that null matches expected 640.
/home/travis/build/fzaninotto/Faker/test/Faker/Provider/ImageTest.php:52
How ever, as far as I know there has been no changes to this file after May 20, 2015.
The line failing is as follows:
$this->assertEquals(640, $width);
For some reason, the variable $width is null. Why?
On my side, the test is actually OK:
$ phpunit --filter testDownloadWithDefaults test/Faker/Provider/ImageTest.php
PHPUnit 4.8.23 by Sebastian Bergmann and contributors.
.
Time: 17.27 seconds, Memory: 5.25Mb
OK (1 test, 4 assertions)
Few notes: Composer is up to date, and this error happens only with PHP 7.0.4. This might explain why the test works on my side, as my local development server is running PHP 5.5.9.
This issue might have an impact to further Pull Requests (causing them to fail the Travis CI build), such as the case stands in #862.
Edit: One possible explanation for this behaviour is curl not being enabled on Travis PHP 7.0.4 environment. It might be worth checking. Another issue might be that LoremPixel is down? The site seems to work and generate images but it might be that the site does not pass data to Faker.
The text was updated successfully, but these errors were encountered:
This probably needs to be investigated. My Travis CI build failed due to this:
How ever, as far as I know there has been no changes to this file after May 20, 2015.
The line failing is as follows:
For some reason, the variable
$width
isnull
. Why?On my side, the test is actually OK:
Few notes: Composer is up to date, and this error happens only with PHP 7.0.4. This might explain why the test works on my side, as my local development server is running PHP 5.5.9.
This issue might have an impact to further Pull Requests (causing them to fail the Travis CI build), such as the case stands in #862.
Edit: One possible explanation for this behaviour is curl not being enabled on Travis PHP 7.0.4 environment. It might be worth checking. Another issue might be that LoremPixel is down? The site seems to work and generate images but it might be that the site does not pass data to Faker.
The text was updated successfully, but these errors were encountered: