tests: add tests for lock expiration (#7777)
This commit is contained in:
@@ -828,6 +828,17 @@ class WebDavLockingContext implements Context {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @When the user waits for :time seconds to expire the lock
|
||||
*
|
||||
* @param int $time
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function waitForCertainSecondsToExpireTheLock(int $time): void {
|
||||
\sleep($time);
|
||||
}
|
||||
|
||||
/**
|
||||
* This will run before EVERY scenario.
|
||||
* It will set the properties for this object.
|
||||
|
||||
Reference in New Issue
Block a user