Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
parent
d11b69bfb9
commit
fcc2a0c830
@ -1,7 +1,8 @@ |
||||
{ |
||||
"require-dev": { |
||||
"phpunit/phpunit": "~4.6", |
||||
"behat/behat": "^3.0", |
||||
"guzzlehttp/guzzle": "~5.0", |
||||
"behat/behat": "2.4.*@stable" |
||||
"jarnaiz/behat-junit-formatter": "^1.3" |
||||
} |
||||
} |
||||
|
||||
@ -1,18 +1,19 @@ |
||||
default: |
||||
paths: |
||||
features: ../features |
||||
bootstrap: %behat.paths.features%/bootstrap |
||||
autoload: |
||||
'': %paths.base%/../features/bootstrap |
||||
suites: |
||||
default: |
||||
paths: |
||||
- %paths.base%/../features |
||||
contexts: |
||||
- FeatureContext: |
||||
baseUrl: http://localhost:8080/ocs/ |
||||
admin: |
||||
- admin |
||||
- admin |
||||
regular_user_password: 123456 |
||||
|
||||
context: |
||||
parameters: |
||||
baseUrl: http://localhost:8080/ocs/ |
||||
admin: |
||||
- admin |
||||
- admin |
||||
regular_user_password: 123456 |
||||
|
||||
ci: |
||||
formatter: |
||||
name: pretty,junit |
||||
parameters: |
||||
output_path: null,./output |
||||
extensions: |
||||
jarnaiz\JUnitFormatter\JUnitFormatterExtension: |
||||
filename: report.xml |
||||
outputDir: %paths.base%/../output/ |
||||
|
||||
Loading…
Reference in new issue