From: nadeesha Date: Fri, 3 Dec 2010 14:11:00 +0000 (+0000) Subject: Add getUser() and getPass() functions. X-Git-Tag: 1.31.0-rc.0~33613 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=0f2a4f61976d2aac0c81b3d018b1d442bdca8076;p=lhc%2Fweb%2Fwiklou.git Add getUser() and getPass() functions. --- diff --git a/maintenance/tests/selenium/Selenium.php b/maintenance/tests/selenium/Selenium.php index 7eb70c114b..ecf7f9ec94 100644 --- a/maintenance/tests/selenium/Selenium.php +++ b/maintenance/tests/selenium/Selenium.php @@ -122,10 +122,22 @@ class Selenium { $this->user = $user; } + // Function to get username + public function getUser() { + return $this->user; + } + + public function setPass( $pass ) { $this->pass = $pass; } + //add function to get password + public function getPass( ) { + return $this->pass; + } + + public function setHost( $host ) { $this->host = $host; }