Problem/Motivation
Toolbar is scheduled to be deprecated and removed. Tests installing the Toolbar module outside of the Toolbar module need to be changed.
Steps to reproduce
Proposed resolution
Remove Toolbar from tests where it isn't needed.
- core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php
- core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
- core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
- core/modules/shortcut/tests/src/Functional/ConfigTranslationListUiTest.php
- core/modules/shortcut/tests/src/Kernel/ShortcutCacheTagsTest.php
- core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
- core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3611749
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3611749-change-tests-using
changes, plain diff MR !16352
- 3611749-11.x
changes, plain diff MR !16393
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedThink the evidence is in the results. Tests still pass
Comment #6
quietone commentedComment #8
longwaveCommitted 5cd7e9c and pushed to main. Thanks!
Doesn't cherry-pick cleanly to 11.x, there is a conflict in AnnounceFetcherUserTest, marking for backport.
Comment #10
quietone commentedTests are passing now, so this is ready.
Comment #11
quietone commented11.x backport ready
Comment #12
smustgrave commentedTests are passing so assuming a good backport. Am making the assumption the MR was left in draft by accident btw.
Comment #14
longwaveCommitted and pushed ab5bcf5ccf7 to 11.x. Thanks!
Comment #16
quietone commented