Problem/Motivation

Splitting out the test coverage addition from #2877924: Remove ContentPreprocess and associated code into its own issue.

See https://www.drupal.org/project/drupal/issues/2877924#comment-16226099 and https://www.drupal.org/project/drupal/issues/2877924#comment-16237435

Steps to reproduce

N/A

Proposed resolution

Add test coverage confirming that only 1 node title is displayed on the latest version route.

Remaining tasks

N/A

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Issue fork drupal-3567137

Command icon 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:

Comments

acbramley created an issue. See original summary.

acbramley’s picture

Status: Active » Needs review
berdir’s picture

Status: Needs review » Reviewed & tested by the community

I'm always wondering whether something like this should be an addition to an existing test method or a new one since functional tests are fairly heavy. But I think it's OK like this.

This test coverage will allow us to remove the is page code in content _moderation without risk of regressions.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

  • catch committed aeb520f7 on 11.x
    task: #3567137 Add test coverage for duplicate node titles on...

  • catch committed 08b3f770 on main
    task: #3567137 Add test coverage for duplicate node titles on...

catch’s picture

Version: main » 11.x-dev
Status: Reviewed & tested by the community » Fixed

This looks like a good candidate for #3390193: Add a drupalGet() method to KernelTestBase eventually, where as separate method will make less difference, so I think it's fine here. While I've combined some test methods in other issues, tend to try to reserve that only for very expensive tests.

Committed/pushed to main and 11.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.