We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test would fail when ran wihtout an active internet connection. This is due to image fields using remote data sources. Test output is as below:
$ ./vendor/bin/phpunit PHPUnit 4.5.1 by Sebastian Bergmann and contributors. Configuration read from .../integration/sites/all/modules/contrib/integration/phpunit.xml .............F..................... Time: 9.81 seconds, Memory: 32.50Mb There was 1 failure: 1) Drupal\integration\Tests\Consumer\Migrate\ArticlesMigrationTest::testContentMigration Failed asserting that 'http://placehold.it/300x150&text=English+1' contains "". .../integration/sites/all/modules/contrib/integration/tests/Consumer/Migrate/ArticlesMigrationTest.php:58 .../integration/sites/all/modules/contrib/integration/vendor/phpunit/phpunit/phpunit:36 FAILURES! Tests: 35, Assertions: 307, Failures: 1.
Make sure that all data used in tests is local taking into account that we only use http://placehold.it/ as remote data source.
http://placehold.it/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Test would fail when ran wihtout an active internet connection. This is due to image fields using remote data sources. Test output is as below:
Solution
Make sure that all data used in tests is local taking into account that we only use
http://placehold.it/
as remote data source.The text was updated successfully, but these errors were encountered: