Convert testJail() to use expectExceptions

Created on 8 February 2023, about 2 years ago

Problem/Motivation

While working on 📌 Fix class comment doc blocks in tests for 'Drupal.Commenting.DocComment.ShortSingleLine' Fixed , xjm spotted this comment in \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::testJail

    // This convoluted piece of code is here because our testing framework does
    // not support expecting exceptions.

Since we can not test expected expectations the block of code can be updated.

Steps to reproduce

Proposed resolution

Convert testJail to use expectExceptions.

Remaining tasks

Patch
Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs review

Version

10.1

Component
System 

Last updated 1 day ago

No maintainer
Created by

🇳🇿New Zealand quietone

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

Comments & Activities

Production build 0.71.5 2024