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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2020-05-24 14:25:12 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-05-24 14:25:12 +0300
commit1910579791a633b2eef25707ff490a79c4fe7494 (patch)
tree5b7b5589786509ef6c977fc04fc9e1b30b176a96 /test/selenium/ChangePasswordTest.php
parentc4da7f6a9a82d37950087552c38e2ea7271eeb0f (diff)
Add getters for some ENVs in the selenium test suite
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/selenium/ChangePasswordTest.php')
-rw-r--r--test/selenium/ChangePasswordTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/selenium/ChangePasswordTest.php b/test/selenium/ChangePasswordTest.php
index da5b2b9882..183fc3d986 100644
--- a/test/selenium/ChangePasswordTest.php
+++ b/test/selenium/ChangePasswordTest.php
@@ -64,13 +64,13 @@ class ChangePasswordTest extends TestBase
$this->assertNotEquals('', $this->byName('pma_pw2')->getAttribute('value'));
$this->assertNotEquals('', $this->byName('generated_pw')->getAttribute('value'));
- if ($GLOBALS['TESTSUITE_PASSWORD'] != '') {
+ if ($this->getTestSuiteUserPassword() !== '') {
$this->byName('pma_pw')->clear();
$this->byName('pma_pw2')->clear();
- $this->byName('pma_pw')->click()->sendKeys($GLOBALS['TESTSUITE_PASSWORD']);
+ $this->byName('pma_pw')->click()->sendKeys($this->getTestSuiteUserPassword());
- $this->byName('pma_pw2')->click()->sendKeys($GLOBALS['TESTSUITE_PASSWORD']);
+ $this->byName('pma_pw2')->click()->sendKeys($this->getTestSuiteUserPassword());
} else {
$this->byId('nopass_1')->click();
}