ContentTranslationContextualLinksTest should use API calls to set up translation

Created on 19 April 2023, over 1 year ago
Updated 14 June 2023, over 1 year ago

Problem/Motivation

ContentTranslationContextualLinksTest submits the content translation form to set up translation:

    // Enable content translation.
    $this->drupalLogin($this->rootUser);
    $this->drupalGet('admin/config/regional/content-language');
    $edit = [
      'entity_types[node]' => TRUE,
      'settings[node][page][translatable]' => TRUE,
    ];
    $this->submitForm($edit, 'Save configuration');
    $this->drupalLogout();

This should be done with an API call.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.0

Component
PHPUnit 

Last updated about 6 hours ago

Created by

🇬🇧United Kingdom joachim

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