Skip to content

Commit

Permalink
Merge pull request #11895 from nextcloud/bugfix/11115/fix-integration…
Browse files Browse the repository at this point in the history
…-test

fix(tests): Allow negative expiration time in tests
  • Loading branch information
nickvergessen authored Mar 22, 2024
2 parents efafb6e + cebfb4c commit 5b14e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5b14e12

Please sign in to comment.