mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Added ci config to _env
This commit is contained in:
parent
eaa02ef7d3
commit
468fb14274
|
@ -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
|
||||
|
|
18
tests/_envs/testing-ci.yml
Normal file
18
tests/_envs/testing-ci.yml
Normal file
|
@ -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'
|
|
@ -10,4 +10,4 @@ modules:
|
|||
# add framework module here
|
||||
- \Helper\Functional
|
||||
- Laravel5:
|
||||
environment_file: .env.testing
|
||||
environment_file: .env
|
||||
|
|
|
@ -6,4 +6,4 @@ modules:
|
|||
enabled:
|
||||
- \Helper\Unit
|
||||
- Laravel5:
|
||||
environment_file: .env.testing-ci
|
||||
environment_file: .env
|
||||
|
|
Loading…
Reference in a new issue