From d220ebd708a6893fdb68b8548a30990d99ca1c02 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 21 Apr 2014 12:06:51 -0400 Subject: [PATCH] Describe Selenium testing setup and provide a function to clear the SQL database --- 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 a3f0ab6..65b0828 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 -- Gitblit v1.9.1