PHPUnit tests are failing on a debug(), that means those debugs abort a test before it has a chance to actually report what changed, and it's default output is much better anyway.

Before:

1) Drupal\Tests\node\Functional\NodeBlockFunctionalTest::testRecentNodeBlock
<pre>Unwanted cache contexts in response: </pre>

/home/berdir/Projekte/d8/core/includes/common.inc:1214
/home/berdir/Projekte/d8/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php:168
/home/berdir/Projekte/d8/core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php:148

(The problem is that there's a missing context, not an unwanted, but it already stops on that)

After:

1) Drupal\Tests\node\Functional\NodeBlockFunctionalTest::testRecentNodeBlock
Failed asserting that Array &0 (
    0 => 'languages:language_content'
    1 => 'languages:language_interface'
    2 => 'theme'
    3 => 'url.query_args:_wrapper_format'
    4 => 'user'
) is identical to Array &0 (
    0 => 'languages:language_content'
    1 => 'languages:language_interface'
    2 => 'route'
    3 => 'theme'
    4 => 'url.query_args:_wrapper_format'
    5 => 'user'
).

Comments

Berdir created an issue. See original summary.

berdir’s picture