Move ContextualDynamicContextTest::renderContextualLinks into WebTestBase

Created on 16 October 2013, about 11 years ago
Updated 25 September 2023, about 1 year ago

Updated: Comment #0

Problem/Motivation

The function is already duplicated in views.module's NodeContextualLinksTest and config_translation.module is duplicating it a third time currently. This will happen in contrib a lot more.

Proposed resolution

Move the function to WebTestBase. Most test cases won't use it, but I still think it makes sense to provide it there. Since we don't have traits, there's nowhere else to put it.

Remaining tasks

Review patch.

User interface changes

None.

API changes

Only an API addition: WebTestBase::renderContextualLinks

Related Issues

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Simpletest 

Last updated 5 days ago

Created by

🇩🇪Germany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024