FileFieldTestBase::assertFileEntryNotExists() not properly typehinted, missing default $message parameter

Created on 25 March 2019, over 5 years ago
Updated 10 September 2024, 3 months ago

Problem/Motivation

In FileFieldTestBase, unlike ::assertFileEntryExists(), ::assertFileEntryNotExists() doesn't have a default $message parameter, therefore requiring the calling class to at least supply a NULL value.

Steps to reproduce

Call ::assertFileEntryNotExists() with one param.

Proposed resolution

Give the $message parameter a default value of NULL.

Remaining tasks

Review.

User interface changes

None.

Introduced terminology

None.

API changes

::assertFileEntryNotExists() will be callable with one param.

Data model changes

None.

Release notes snippet

πŸ› Bug report
Status

RTBC

Version

11.0 πŸ”₯

Component
File systemΒ  β†’

Last updated 3 days ago

Created by

Pancho UTC+2 πŸ‡ͺπŸ‡Ί EU

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

Merge Requests

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