Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296021

Refactor ToolkitGdTest

$
0
0

Problem/Motivation

From #3202016-30: Let GDToolkit support AVIF image format:

ToolkitGdTest::testManipulations() is a monster that dates back to simpletest when multiple tests were performed in a single method to avoid multiple installations. In the era of Kernel tests, it's better split it in more understandable bits.

This entire class dates back to Simpletest times, today we can use data providers and have more atomic tests.

Steps to reproduce

n/a

Proposed resolution

Modernize the test.

Remaining tasks

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a


Viewing all articles
Browse latest Browse all 296021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>