From c845794dea9576d7c0b60e8b55f8eb4cc66a9c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=81api=C5=84ski?= <143662975+f-lapinski@users.noreply.github.com> Date: Fri, 14 Feb 2025 12:06:37 +0100 Subject: [PATCH] Update StringLocaleTitleTest.php fix if statements --- .../Flow/ETL/Tests/Unit/Function/StringLocaleTitleTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/StringLocaleTitleTest.php b/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/StringLocaleTitleTest.php index b25921c3b..5d0ffd781 100644 --- a/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/StringLocaleTitleTest.php +++ b/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/StringLocaleTitleTest.php @@ -26,7 +26,7 @@ public function test_returns_method_returns_string_type() : void public function test_string_locale_title_en() : void { /** @phpstan-ignore-next-line */ - if (!method_exists(AbstractUnicodeString::class, 'localeTitle')) { + if (method_exists(AbstractUnicodeString::class, 'localeTitle')) { self::assertSame( 'Foo ijssel', ref('str')->stringLocaleTitle('en')->eval( @@ -46,7 +46,7 @@ public function test_string_locale_title_en() : void public function test_string_locale_title_nl() : void { /** @phpstan-ignore-next-line */ - if (!method_exists(AbstractUnicodeString::class, 'localeTitle')) { + if (method_exists(AbstractUnicodeString::class, 'localeTitle')) { self::assertSame( 'Foo IJssel', ref('str')->stringLocaleTitle('nl')->eval(