Refactor InstallerNonDefaultDatabaseDriverTest to avoid asserting content of settings.php

Created on 14 June 2023, almost 2 years ago
Updated 20 February 2024, about 1 year ago

Problem/Motivation

Noted in Introduce database driver extensions and autoload database drivers' dependencies Fixed , https://git.drupalcode.org/project/drupal/-/merge_requests/3169#note_182014.

The InstallerNonDefaultDatabaseDriverTest asserts on actual strings of the settings.php file, which is brittle.

Steps to reproduce

Proposed resolution

Refactor to assert on arrays instead (from connection info?)

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
Database 

Last updated about 3 hours ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇮🇹Italy mondrake 🇮🇹

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024