Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-03 12:40:36 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-03 12:40:36 +0300
commitd212851280a1e5fd3515c8246d157fc78e12fa83 (patch)
tree587a870adc9687cc5bca01c8a3d797da2bebeb00 /tests
parenta3199653980741e2c08e1e5477346fc443e28ebe (diff)
Fix outdated ui string in acceptance test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Acceptance/TOTPAcceptanceTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Acceptance/TOTPAcceptanceTest.php b/tests/Acceptance/TOTPAcceptanceTest.php
index d458f6d..781f998 100644
--- a/tests/Acceptance/TOTPAcceptanceTest.php
+++ b/tests/Acceptance/TOTPAcceptanceTest.php
@@ -87,7 +87,7 @@ class TOTPAcceptenceTest extends TestCase {
$this->webDriver->executeScript('arguments[0].click(); console.log(arguments[0]);', [
$this->webDriver->findElement(WebDriverBy::id('totp-enabled')),
]);
- $this->webDriver->wait(15, 200)->until(WebDriverExpectedCondition::elementTextContains(WebDriverBy::id('twofactor-totp-settings'), 'This is your new TOTP secret:'));
+ $this->webDriver->wait(15, 200)->until(WebDriverExpectedCondition::elementTextContains(WebDriverBy::id('twofactor-totp-settings'), 'Your new TOTP secret is:'));
$this->assertHasSecret(ITotp::STATE_CREATED);
// Enter a wrong OTP