From 5b3d61cedccd80eb1582a5e62cb26c201d14ae08 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 25 Oct 2022 06:58:42 +0200 Subject: [PATCH] revert, this one actually was correct --- tst/I18nTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/I18nTest.php b/tst/I18nTest.php index 09597032..ac4cfcb0 100644 --- a/tst/I18nTest.php +++ b/tst/I18nTest.php @@ -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->assertStringContainsString( + $this->assertContains( $messageId, $languages[$language], "message ID '$messageId' exists in translation file $language.json"