Drupal 10.2.3-dev breaks Aggregator tests
While I worked on #3414579: Blocks cause WSOD; Cannot generate default URL 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, https://git.drupalcode.org/project/aggregator/-/jobs/657134. Sure enough, our tests which were all passing now fail.
#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.
Failures:
1) Drupal\Tests\aggregator\Functional\AggregatorRenderingTest::testBlockLinks
Behat\Mink\Exception\ResponseTextException: The text "feed-pjynzw2lv3" was not found anywhere in the text of the current page.
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293
/builds/project/aggregator/tests/src/Functional/AggregatorRenderingTest.php:60
/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
2) Drupal\Tests\aggregator\Functional\ItemCacheTagsTest::testEntityCreation
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
/builds/project/aggregator/web/core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php:647
/builds/project/aggregator/tests/src/Functional/ItemCacheTagsTest.php:75
/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
3) Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d6\UpgradeTest::testUpgrade
Behat\Mink\Exception\ResponseTextException: The text "Congratulations, you upgraded Drupal!" was not found anywhere in the text of the current page.
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293
/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:76
/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:30
/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
4) Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d7\UpgradeTest::testUpgrade
Behat\Mink\Exception\ResponseTextException: The text "Congratulations, you upgraded Drupal!" was not found anywhere in the text of the current page.
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:907
/builds/project/aggregator/vendor/behat/mink/src/WebAssert.php:293
/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:76
/builds/project/aggregator/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php:30
/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
5) Drupal\Tests\aggregator\Kernel\Plugin\Block\AggregatorFeedBlockTest::testRenderBadItemUrl
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
/builds/project/aggregator/web/core/lib/Drupal/Core/Entity/EntityBase.php:176
/builds/project/aggregator/src/Plugin/Block/AggregatorFeedBlock.php:165
/builds/project/aggregator/tests/src/Kernel/Plugin/Block/AggregatorFeedBlockTest.php:63
/builds/project/aggregator/vendor/phpunit/phpunit/src/Framework/TestResult.php:728