Skip to content
Snippets Groups Projects
Commit a088adfb authored by Benni Mack's avatar Benni Mack
Browse files

[TASK] Make tests PHPUnit v9 compatible

This change modifies "->expectExceptionMessageRegExp" which is
not available anymore in PHPunit v9.

In addition, expectException(Warning::class) is deprecated in PHPUnit v9,
which is modified as well, to make Core a small step towards PHPUnit v10 compat.

Resolves: #90787
Releases: master, 9.5
Change-Id: Ie8aedc3cf95b5fac84791cb2d7cedba642d481c7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63797


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 93baa919
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment