convert LinkFieldTest::doTestURLValidation() to a kernel test

Created on 7 August 2024, 3 months ago
Updated 8 August 2024, 3 months ago

Problem/Motivation

LinkFieldTest::doTestURLValidation() tests the validation of link field values. It's testing that different types of value either pass validationor fail it and get a specific error message.

This doesn't need to be done in a browser test. We are not testing the entity form validation -- that is covered elsewhere.

Steps to reproduce

Proposed resolution

Extract this method to a kernel test. Use $entity->validate() to get validation errors.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Postponed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 11 hours ago

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024