Problem/Motivation
Remove uses of book from from test, excluding Update tests.
Steps to reproduce
$ grep --exclude-dir={fixtures,book,node_modules,vendor,themes} -riw book core | grep Test | grep -vi migrat | grep book
These are the files
core/modules/views/tests/src/Kernel/TestViewsTest.php
core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php
core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.phpUpdatePathTestBaseFilledTest.php is not to be done in this issue.
Proposed resolution
Examine each usage and decide how to keep the test coverage.
core/modules/views/tests/src/Kernel/TestViewsTest.php - ??
core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php - changed to test theme
core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php - changed to use History module
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3414637
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:
- 3414637-remove-usages-of
changes, plain diff MR !6170
Comments
Comment #2
quietone commentedNo, core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php does not need to be changed.
Comment #5
quietone commentedI left a question in the MR.
Comment #6
quietone commentedI meant NR for another opinion
Comment #7
smustgrave commentedLeft some comments but based on how we handled Tour removal we will need to use a test module vs another contrib. Which should also be used in the spot @quietone brought up a concern about lost coverage.
Comment #8
quietone commentedComment #9
smustgrave commentedFeedback appears to be addressed
Comment #10
larowlanIssue credits
Comment #12
larowlanCommitted to 11.x - thanks