From f808005679a564e5375786390294dc9f053f4774 Mon Sep 17 00:00:00 2001 From: Neil Kakkar Date: Tue, 2 Jan 2024 17:04:28 +0000 Subject: [PATCH] fix --- test/FeatureFlagTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/FeatureFlagTest.php b/test/FeatureFlagTest.php index 23d35d4..ff235db 100644 --- a/test/FeatureFlagTest.php +++ b/test/FeatureFlagTest.php @@ -646,7 +646,7 @@ public function testMatchPropertyRelativeDateOperators(): void "key" => "abcdef", ]); } catch (Exception $exception) { - self::assertStringContains("Failed to parse time string (abcdef) at position 0 (a): The timezone could not be found in the database", $exception->getMessage()); + self::assertStringContainsString("Failed to parse time string (abcdef) at position 0 (a): The timezone could not be found in the database", $exception->getMessage()); } $prop_b = [ @@ -681,7 +681,7 @@ public function testMatchPropertyRelativeDateOperators(): void "key" => "2022-05-30", ]); } catch (InconclusiveMatchException $exception) { - self::assertStringContains("The date set on the flag is not a valid format", $exception->getMessage()); + self::assertStringContainsString("The date set on the flag is not a valid format", $exception->getMessage()); } try { @@ -689,7 +689,7 @@ public function testMatchPropertyRelativeDateOperators(): void "key" => 1, ]); } catch (InconclusiveMatchException $exception) { - self::assertStringContains("The date set on the flag is not a valid format", $exception->getMessage()); + self::assertStringContainsString("The date set on the flag is not a valid format", $exception->getMessage()); } // # Try all possible relative dates