From fce9617c27bd83bdf18ec73aac54c50a40693e7e Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Wed, 15 Nov 2023 11:58:14 +0100 Subject: [PATCH] Update tests --- .../tests/php/tests/files/i18n.php.report | 2 - .../tests/php/tests/test-jetpack-compat.php | 41 +++++++++---------- 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report index 14fb9851c5c33..06d234ca856e7 100644 --- a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report +++ b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report @@ -1,5 +1,3 @@ - 14 | ERROR | [ ] Unicode codepoint escape sequences are not supported in PHP 5.6 or earlier. Found: \u{0061} - | | (PHPCompatibility.TextStrings.NewUnicodeEscapeSequence.Found) 17 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch) 18 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch) 21 | ERROR | [x] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain) diff --git a/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php b/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php index 3cdce5a8ad848..d5f459e565b0e 100644 --- a/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php +++ b/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php @@ -21,7 +21,6 @@ class JetpackCompatTest extends TestCase { const SRC1 = <<<'EOF'