summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-22 08:57:50 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-22 08:57:50 +0100
commit37238725d632afb8f09db1f60c46dacaa3e701ff (patch)
tree4d45bcd9ef1f96a081bc5e16df998e4a215abd9d /tests
parentdc8809e754c22addaab20401a7505dcc4082541c (diff)
downloadnextcloud-server-37238725d632afb8f09db1f60c46dacaa3e701ff.tar.gz
nextcloud-server-37238725d632afb8f09db1f60c46dacaa3e701ff.zip
Fix typo in callback name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppContext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php
index 338823a9478..17ad55d45a9 100644
--- a/tests/acceptance/features/bootstrap/FilesAppContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppContext.php
@@ -640,7 +640,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
private function waitForElementToBeEventuallyNotShown($elementLocator, $timeout = 10, $timeoutStep = 1) {
$actor = $this->actor;
- $elementNotFoundCallback = function() use ($actor, $elementLocator) {
+ $elementNotShownCallback = function() use ($actor, $elementLocator) {
try {
return !$actor->find($elementLocator)->isVisible();
} catch (NoSuchElementException $exception) {
@@ -648,6 +648,6 @@ class FilesAppContext implements Context, ActorAwareInterface {
}
};
- return Utils::waitFor($elementNotFoundCallback, $timeout, $timeoutStep);
+ return Utils::waitFor($elementNotShownCallback, $timeout, $timeoutStep);
}
}