Skip to content

Commit

Permalink
Correctly use globals
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Feb 18, 2014
1 parent ff2a909 commit ae2d5fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/selenium/PmaSeleniumPrivilegesTest.php
Expand Up @@ -53,11 +53,11 @@ public function testChangePassword()
$this->assertNotEquals("", $this->byId("text_pma_pw2")->value());
$this->assertNotEquals("", $this->byId("generated_pw")->value());

if (TESTSUITE_PASSWORD != "") {
if ($GLOBALS['TESTSUITE_PASSWORD'] != "") {
$this->byId("text_pma_pw")->clear();
$this->byId("text_pma_pw2")->clear();
$this->byId("text_pma_pw")->value(TESTSUITE_PASSWORD);
$this->byId("text_pma_pw2")->value(TESTSUITE_PASSWORD);
$this->byId("text_pma_pw")->value($GLOBALS['TESTSUITE_PASSWORD']);
$this->byId("text_pma_pw2")->value($GLOBALS['TESTSUITE_PASSWORD']);
} else {
$this->byId("nopass_1")->click();
}
Expand Down

0 comments on commit ae2d5fe

Please sign in to comment.