diff options
Diffstat (limited to 'test/selenium/ChangePasswordTest.php')
-rw-r--r-- | test/selenium/ChangePasswordTest.php | 6 |
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(); } |