summaryrefslogtreecommitdiff
path: root/tests/acceptance/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-09 21:40:44 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-09 21:40:44 -0400
commit0cd7a2d35e26546033926e2e797d7bde66b7c6c6 (patch)
tree11e3c680cd817ab76b91e55fde9c4d3fd50e3c5b /tests/acceptance/Base.php
parent3c394fe92ec3b97d8404f68fd3379cfa6a92a6e1 (diff)
parent7464607195bb84b2a7b6f1e2ad3b208fe37dc336 (diff)
Merge pull-request #2317
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();
+ }
+}