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:
authorRosheen Naeem <rosheennaeem4@gmail.com>2020-08-06 15:12:15 +0300
committerRosheen Naeem <rosheennaeem4@gmail.com>2020-08-06 15:51:34 +0300
commit673c194b0197f3c14fffddfa2071640d31e57dfe (patch)
treef49bf741cf5e5bd9efaaa77f6b6ee669c21acce8 /test/selenium
parent22c4c2e1e02497d0e280b4360cd49f296e3da873 (diff)
Fixed underscore prefixes
Signed-off-by: Rosheen Naeem <rosheennaeem4@gmail.com>
Diffstat (limited to 'test/selenium')
-rw-r--r--test/selenium/CreateRemoveUserTest.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/selenium/CreateRemoveUserTest.php b/test/selenium/CreateRemoveUserTest.php
index d6e9e2319e..d628bdce39 100644
--- a/test/selenium/CreateRemoveUserTest.php
+++ b/test/selenium/CreateRemoveUserTest.php
@@ -27,7 +27,7 @@ class CreateRemoveUserTest extends TestBase
* @access private
* @var string
*/
- private $_txtUsername;
+ private $txtUsername;
/**
* Password for the user
@@ -35,7 +35,7 @@ class CreateRemoveUserTest extends TestBase
* @access private
* @var string
*/
- private $_txtPassword;
+ private $txtPassword;
/**
* Setup the browser environment to run the selenium test case
@@ -44,8 +44,8 @@ class CreateRemoveUserTest extends TestBase
{
parent::setUp();
$this->skipIfNotSuperUser();
- $this->_txtUsername = 'pma_user';
- $this->_txtPassword = 'abc_123';
+ $this->txtUsername = 'pma_user';
+ $this->txtPassword = 'abc_123';
$this->login();
}
@@ -69,7 +69,7 @@ class CreateRemoveUserTest extends TestBase
$this->waitAjax();
$userField = $this->waitForElement('name', 'username');
- $userField->sendKeys($this->_txtUsername);
+ $userField->sendKeys($this->txtUsername);
$this->selectByLabel($this->byId('select_pred_hostname'), 'Local');
@@ -81,8 +81,8 @@ class CreateRemoveUserTest extends TestBase
$this->assertNotEquals('', $this->byId('text_pma_pw2')->getAttribute('value'));
$this->assertNotEquals('', $this->byId('generated_pw')->getAttribute('value'));
- $this->byId('text_pma_pw')->sendKeys($this->_txtPassword);
- $this->byId('text_pma_pw2')->sendKeys($this->_txtPassword);
+ $this->byId('text_pma_pw')->sendKeys($this->txtPassword);
+ $this->byId('text_pma_pw2')->sendKeys($this->txtPassword);
// Make sure the element is visible before clicking
$this->scrollIntoView('createdb-1');
@@ -101,7 +101,7 @@ class CreateRemoveUserTest extends TestBase
// Removing the newly added user
$this->waitForElement('partialLinkText', 'User accounts')->click();
$this->waitForElement('id', 'usersForm');
- $temp = $this->_txtUsername . '&amp;#27;localhost';
+ $temp = $this->txtUsername . '&amp;#27;localhost';
$this->byXPath(
"(//input[@name='selected_usr[]'])[@value='" . $temp . "']"