summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/core
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-04 13:12:40 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-10 12:37:56 +0200
commit63004c8ce509bd3398cef4cc03f0bf98bcfb616f (patch)
tree81cc5b4f49cb10d4709253cf7b8daad34e64c054 /tests/acceptance/features/core
parent3dc1bcd4c1918898808c0d97e2771229cc4331b9 (diff)
downloadnextcloud-server-63004c8ce509bd3398cef4cc03f0bf98bcfb616f.tar.gz
nextcloud-server-63004c8ce509bd3398cef4cc03f0bf98bcfb616f.zip
Add getter for the timeout multiplier
In some cases the acceptance tests have to explicitly wait for something to happen without using the "find" method from the actor; in those cases the timeout multiplier needs to be taken into account too, so the test cases must be able to retrieve it from the actor. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/acceptance/features/core')
-rw-r--r--tests/acceptance/features/core/Actor.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/acceptance/features/core/Actor.php b/tests/acceptance/features/core/Actor.php
index a87ccfb7737..bf2f5a7367d 100644
--- a/tests/acceptance/features/core/Actor.php
+++ b/tests/acceptance/features/core/Actor.php
@@ -105,6 +105,15 @@ class Actor {
}
/**
+ * Returns the multiplier for find timeouts.
+ *
+ * @return float the multiplier to apply to find timeouts.
+ */
+ public function getFindTimeoutMultiplier() {
+ return $this->findTimeoutMultiplier;
+ }
+
+ /**
* Sets the multiplier for find timeouts.
*
* @param float $findTimeoutMultiplier the multiplier to apply to find