Refactor InstallerNonDefaultDatabaseDriverTest to avoid asserting content of settings.php

Created on 14 June 2023, about 1 year ago
Updated 20 February 2024, 4 months 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 23 minutes ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇮🇹Italy mondrake 🇮🇹

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

Comments & Activities

  • Issue created by @mondrake
  • First commit to issue fork.
Production build 0.69.0 2024