There was 1 error:
1) Drupal\Tests\Core\Template\AttributeTest::testPrint
strstr(): Empty needle
/usr/share/php/PHPUnit/Util/XML.php:626
/usr/share/php/PHPUnit/Util/XML.php:468
/var/www/d8/core/tests/Drupal/Tests/Core/Template/AttributeTest.php:96
/usr/share/php/PHPUnit/TextUI/Command.php:192
/usr/share/php/PHPUnit/TextUI/Command.php:130
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal-phpunit-debian-2108643-3.patch | 1.24 KB | ParisLiakos |
Comments
Comment #1
ParisLiakos commentedthis is the last test after the json one, for our phpunit test suite to be green under php 5.5
Comment #2
ParisLiakos commentednvm..this is a phpunit thing..seems the debian package is quite outdated
this was fixed...2 years ago upstream!
if you run tests using the vendor binary it still works..
i still think we should fix the test to work with the debian binary version, the fix is pretty simple i think
Comment #3
ParisLiakos commentedhere is whats missing from debian's version of phpunit, that causes this test to fail:
https://github.com/sebastianbergmann/phpunit/commit/f48cb8ba2903b2da3a63...
and here is a patch that adds some contents in the div, rather than being empty
Comment #4
ParisLiakos commentedComment #5
dawehnerEven if it is not stricly needed I consider this as improvement!
Comment #6
mile23I hate to tell someone to change a test fundamentally, but that's really screaming out for a @dataprovider.
Comment #7
webchickSorry, but I do not parse that comment. :) Is this ok as an interim fix, or does #6 need to be addressed?
Comment #8
ParisLiakos commented#6 is out of scope
Comment #9
alexpottCommitted ae84e25 and pushed to 8.x. Thanks!
Comment #10
alexpottShould have said - yep I agree that #6 is out of scope