diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-21 18:06:51 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-21 18:06:51 +0200 |
commit | d220ebd708a6893fdb68b8548a30990d99ca1c02 (patch) | |
tree | e9a9ffc578d6f9175e90676b43604e269cbffe9d /tests/Selenium/Login.php | |
parent | eea11ecdde396ffc261c20ab930120612260d931 (diff) |
Describe Selenium testing setup and provide a function to clear the SQL database
Diffstat (limited to 'tests/Selenium/Login.php')
-rw-r--r-- | tests/Selenium/Login.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Selenium/Login.php b/tests/Selenium/Login.php index a3f0ab6b4..65b082851 100644 --- a/tests/Selenium/Login.php +++ b/tests/Selenium/Login.php @@ -2,6 +2,12 @@ class Selenium_Login extends Selenium_Test { + protected function setUp() + { + bootstrap::init_db(); + parent::setUp(); + } + public function testLogin() { // first test, we're already on the login page |