From cebfb4cf369f090b47d4d9500416f5781899dc6b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 22 Mar 2024 12:23:09 +0100 Subject: [PATCH] fix(tests): Allow negative expiration time in tests Signed-off-by: Joas Schilling --- tests/integration/features/bootstrap/FeatureContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 7fa4beb2a80..10931efc5ae 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -3780,7 +3780,7 @@ private function assertReactionList(?TableNode $formData): void { } /** - * @Given /^user "([^"]*)" set the message expiration to (\d+) of room "([^"]*)" with (\d+) \((v4)\)$/ + * @Given /^user "([^"]*)" set the message expiration to ([-\d]+) of room "([^"]*)" with (\d+) \((v4)\)$/ */ public function userSetTheMessageExpirationToXWithStatusCode(string $user, int $messageExpiration, string $identifier, int $statusCode, string $apiVersion = 'v4'): void { $this->setCurrentUser($user);