make tests compatible with newer phpunit

This commit is contained in:
El RIDO
2022-10-25 06:53:07 +02:00
parent 8ed9fccf25
commit 27965d0287
3 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ class ControllerTest extends TestCase
$content,
'doesn\'t output shortener button'
);
$this->assertRegExp(
$this->assertMatchesRegularExpression(
'# href="https://' . preg_quote($_SERVER['HTTP_HOST']) . '/">switching to HTTPS#',
$content,
'outputs configured https URL correctly'