Merge pull request #11895 from nextcloud/bugfix/11115/fix-integration-test

fix(tests): Allow negative expiration time in tests
This commit is contained in:
Joas Schilling 2024-03-22 12:48:04 +01:00 коммит произвёл GitHub
Родитель efafb6e18d cebfb4cf36
Коммит 5b14e1215b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3780,7 +3780,7 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
/**
* @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);