NodeOverrideTest fails on 1.0.x
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3569555. --> Reported by: [aron novak](https://www.drupal.org/user/61864) Related to !44 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When using ddev contrib, and we try to use "ddev phpunit" on the 1.0.x branch , it fails:</p> <pre>1) Drupal\Tests\pluggable_entity_view_builder\Kernel\NodeOverrideTest::testRenderArray<br>Raw "hero-header-wrapper" found<br>Failed asserting that '&lt;article&gt;\n<br>\n<br>&nbsp; \n<br>&nbsp;&nbsp;&nbsp; \n<br>\n<br>&nbsp; \n<br>&nbsp; &lt;div&gt;\n<br>&nbsp;&nbsp;&nbsp; \n<br>&nbsp; &lt;/div&gt;\n<br>\n<br>&lt;/article&gt;\n<br>' [ASCII](length: 57) contains "hero-header-wrapper" [ASCII](length: 19).</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4> <pre> 1056&nbsp; ddev install<br> 1057&nbsp; ddev poser<br> 1058&nbsp; ddev symlink-project<br> 1059&nbsp; cat README.md <br> 1060&nbsp; ddev exec "cd web/core &amp;&amp; yarn install"<br> 1061&nbsp; ddev install<br> 1062&nbsp; ddev symlink-project<br> 1064&nbsp; cat README.md <br> 1065&nbsp; ddev phpunit</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Clear the relevant caches after the module is enabled programmatically. Also fix symlink-project ddev command that did not work.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <p>-</p> <h3 id="summary-api-changes">API changes</h3> <p>-</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>-</p>
issue