Drupal 10.2.3-dev breaks Aggregator tests
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3415571. -->
Reported by: [dcam](https://www.drupal.org/user/1791830)
Related to !14
>>>
<p>While I worked on <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/aggregator/-/work_items/3414579" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/aggregator/-/work_items/3414579</a></span> last night several test errors occurred that seemed to be unrelated. It occurred to me that additional changes to Core may have broken Aggregator's tests. After all, it wouldn't be the first time in the last 24hrs that we've discovered a change in Core broke Aggregator. So I ran the pipeline this morning, <a href="https://git.drupalcode.org/project/aggregator/-/jobs/657134">https://git.drupalcode.org/project/aggregator/-/jobs/657134</a>. Sure enough, our tests which were all passing now fail.</p>
<p>#3414579 deals with the fifth failure shown below. We may have to commit it as-is. The only thing that gives me pause is that two additional failures showed up in that issue's pipeline that aren't shown in the output below. The wrong number of blocks upgraded from D6/7 were incorrect. But that pipeline didn't show the D6/7 "Congratulations, you upgraded Drupal!" text failure that's shown below. My assumption is that the block issue is preventing the upgrade from completing successfully here. But that problem is fixed in the #3414579 pipeline; it simply needs the upgraded block count to be updated. So again, we probably have to commit #3414579 without it completely passing tests.</p>
<h2>Failures:</h2>
<pre>1) Drupal\Tests\aggregator\Functional\AggregatorRenderingTest::testBlockLinks<br>Behat\Mink\Exception\ResponseTextException: The text "feed-pjynzw2lv3" was not found anywhere in the text of the current page.<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293<br>/builds/project/aggregator/tests/src/Functional/AggregatorRenderingTest.php:60<br>/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728<br>2) Drupal\Tests\aggregator\Functional\ItemCacheTagsTest::testEntityCreation<br>TypeError: Drupal\Tests\system\Functional\Entity\EntityCacheTagsTestBase::verifyRenderCache(): Argument #1 ($keys) must be of type array, string given, called in /builds/project/aggregator/tests/src/Functional/ItemCacheTagsTest.php on line 75<br>/builds/project/aggregator/web/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php:647<br>/builds/project/aggregator/tests/src/Functional/ItemCacheTagsTest.php:75<br>/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728<br>3) Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d6\UpgradeTest::testUpgrade<br>Behat\Mink\Exception\ResponseTextException: The text "Congratulations, you upgraded Drupal!" was not found anywhere in the text of the current page.<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293<br>/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:76<br>/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:30<br>/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728<br>4) Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d7\UpgradeTest::testUpgrade<br>Behat\Mink\Exception\ResponseTextException: The text "Congratulations, you upgraded Drupal!" was not found anywhere in the text of the current page.<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907<br>/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293<br>/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:76<br>/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:30<br>/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728<br>5) Drupal\Tests\aggregator\Kernel\Plugin\Block\AggregatorFeedBlockTest::testRenderBadItemUrl<br>Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: Cannot generate default URL because no link template 'canonical' or 'edit-form' was found for the 'aggregator_item' entity type<br>/builds/project/aggregator/web/core/lib/Drupal/Core/Entity/EntityBase.php:176<br>/builds/project/aggregator/src/Plugin/Block/AggregatorFeedBlock.php:165<br>/builds/project/aggregator/tests/src/Kernel/Plugin/Block/AggregatorFeedBlockTest.php:63<br>/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728</pre>
issue