Convert tests/src/Functional/PathologicTest.php to a Kernel test

Created on 6 July 2020, over 4 years ago
Updated 18 May 2023, over 1 year ago

Problem/Motivation

Kernel tests are much faster than Functional tests. It looks like tests/src/Functional/PathologicTest.php is only testing internal Pathologic functions for URL generation and modification, so I don't think there's any need for a full Drupal install and a faux web browser. I believe we could test everything in that class via a Kernel test, instead.

Proposed resolution

Convert this file to a Kernel test and move it to tests/src/Kernel/PathologicTest.php

Remaining tasks

  1. Verify it all still works as expected.
  2. Reviews / refinements.
  3. RTBC.
  4. Commit.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dww

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