diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-22 08:57:50 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-09 15:57:23 +0100 |
commit | 41a52064c01c75312507cce1f1f67a1ca71bb197 (patch) | |
tree | 887accd03768b7d22d8dc9822d7de3ea9ff2e274 /tests | |
parent | 1b43184aebac9a1513eb90894dce40f6bef62f7b (diff) | |
download | nextcloud-server-41a52064c01c75312507cce1f1f67a1ca71bb197.tar.gz nextcloud-server-41a52064c01c75312507cce1f1f67a1ca71bb197.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.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppContext.php b/tests/acceptance/features/bootstrap/FilesAppContext.php index 61f6b115ac6..ea123706970 100644 --- a/tests/acceptance/features/bootstrap/FilesAppContext.php +++ b/tests/acceptance/features/bootstrap/FilesAppContext.php @@ -520,7 +520,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) { @@ -528,6 +528,6 @@ class FilesAppContext implements Context, ActorAwareInterface { } }; - return Utils::waitFor($elementNotFoundCallback, $timeout, $timeoutStep); + return Utils::waitFor($elementNotShownCallback, $timeout, $timeoutStep); } } |