summaryrefslogtreecommitdiff
path: root/tests/Selenium/Login.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-21 18:06:51 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-21 18:06:51 +0200
commitd220ebd708a6893fdb68b8548a30990d99ca1c02 (patch)
treee9a9ffc578d6f9175e90676b43604e269cbffe9d /tests/Selenium/Login.php
parenteea11ecdde396ffc261c20ab930120612260d931 (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.php6
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