summaryrefslogtreecommitdiff
path: root/tests/acceptance/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/Base.php')
-rw-r--r--tests/acceptance/Base.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/acceptance/Base.php b/tests/acceptance/Base.php
new file mode 100644
index 00000000..e8684a9b
--- /dev/null
+++ b/tests/acceptance/Base.php
@@ -0,0 +1,18 @@
+<?php
+
+class Base extends PHPUnit_Extensions_Selenium2TestCase
+{
+
+ public function setUp()
+ {
+ $this->setHost(SELENIUM_HOST);
+ $this->setPort((integer) SELENIUM_PORT);
+ $this->setBrowserUrl(KANBOARD_APP_URL);
+ $this->setBrowser(DEFAULT_BROWSER);
+ }
+
+ public function tearDown()
+ {
+ $this->stop();
+ }
+}