make tests compatible with newer phpunit

This commit is contained in:
El RIDO
2022-10-25 06:55:24 +02:00
parent b890d768d1
commit 510103fd9f
2 changed files with 3 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ class I18nTest extends TestCase
foreach (array_keys($languages) as $language) {
// most languages don't translate the data size units, ignore those
if ($messageId !== 'B' && strlen($messageId) !== 3 && strpos($messageId, 'B', 2) !== 2) {
$this->assertStringContains(
$this->assertStringContainsString(
$messageId,
$languages[$language],
"message ID '$messageId' exists in translation file $language.json"