Removed method isTestingOnOcis, and refactored code
This commit is contained in:
@@ -59,9 +59,7 @@ class SearchContext implements Context {
|
||||
TableNode $properties = null
|
||||
):void {
|
||||
// Because indexing of newly uploaded files or directories with ocis is decoupled and occurs asynchronously, a short wait is necessary before searching files or folders.
|
||||
if (OcisHelper::isTestingOnOcis()) {
|
||||
sleep(4);
|
||||
}
|
||||
sleep(4);
|
||||
$user = $this->featureContext->getActualUsername($user);
|
||||
$baseUrl = $this->featureContext->getBaseUrl();
|
||||
$password = $this->featureContext->getPasswordForUser($user);
|
||||
|
||||
Reference in New Issue
Block a user