Convert testJail() to use expectExceptions

Created on 8 February 2023, over 1 year 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 New Zealand

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

Comments & Activities

Production build 0.69.0 2024