Fix PHPUnit 10 deprecations

This commit is contained in:
Philipp 2023-07-05 21:43:03 +02:00
parent 037dac988e
commit 5fbdcd4a26
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 8 additions and 5 deletions

View file

@ -178,7 +178,7 @@ class BaseURLTest extends MockedTest
public function testRedirectException()
{
self::expectException(InternalServerErrorException::class);
self::expectErrorMessage('https://friendica.other is not a relative path, please use System::externalRedirect');
self::expectExceptionMessage('https://friendica.other is not a relative path, please use System::externalRedirect');
$config = new ReadOnlyFileConfig(new Cache([
'system' => [