Skip to content

A free open source IT asset/license management system

Added ci config to _env

snipe468fb14274a0
diff --git a/.env.testing-ci b/.env.testing-ci
index 2d7946b2e9..2296ccb46b 100644
--- a/.env.testing-ci
+++ b/.env.testing-ci
@@ -1,7 +1,7 @@
# --------------------------------------------
# REQUIRED: BASIC APP SETTINGS
# --------------------------------------------
-APP_ENV=testing
+APP_ENV=testing-ci
APP_DEBUG=true
APP_KEY=ChangeMe
APP_URL=http://localhost:8000
diff --git a/tests/_envs/testing-ci.yml b/tests/_envs/testing-ci.yml
new file mode 100644
index 0000000000..29c36195e2
--- /dev/null
+++ b/tests/_envs/testing-ci.yml
@@ -0,0 +1,18 @@
+# Codeception Test Suite Configuration
+
+# suite for acceptance tests.
+# perform tests in browser using the Selenium-like tools.
+# powered by Mink (http://mink.behat.org).
+# (tip: that's what your customer will see).
+# (tip: test your ajax and javascript by one of Mink drivers).
+
+# RUN `build` COMMAND AFTER ADDING/REMOVING MODULES.
+class_name: AcceptanceTester
+modules:
+ enabled:
+ - WebDriver
+ - \Helper\Acceptance
+ config:
+ WebDriver:
+ url: 'http://localhost:8000'
+ browser: 'phantomjs'
diff --git a/tests/functional.suite.yml b/tests/functional.suite.yml
index 84ca553262..b9b9f3a42f 100644
--- a/tests/functional.suite.yml
+++ b/tests/functional.suite.yml
@@ -10,4 +10,4 @@ modules:
# add framework module here
- \Helper\Functional
- Laravel5:
- environment_file: .env.testing
+ environment_file: .env
diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml
index d8b3ebb9cc..a9b2b91e3f 100644
--- a/tests/unit.suite.yml
+++ b/tests/unit.suite.yml
@@ -6,4 +6,4 @@ modules:
enabled:
- \Helper\Unit
- Laravel5:
- environment_file: .env.testing-ci
+ environment_file: .env