Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294630

Remove usages of book module from tests

$
0
0

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.php

UpdatePathTestBaseFilledTest.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


Viewing all articles
Browse latest Browse all 294630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>