Files
symfony-flex-recipes-contrib/macpaw.behat-http-mock-context.2.0.json
T
github-action[bot]andgithub-action[bot] e82eb819ed Update Flex endpoint
2025-06-29 13:23:45 +00:00

45 lines
1.8 KiB
JSON

{
"manifests": {
"macpaw/behat-http-mock-context": {
"manifest": {
"bundles": {
"BehatHttpMockContext\\BehatHttpMockContextBundle": [
"test"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"<fg=blue>Read</> the documentation at <comment>https://github.com/MacPaw/behat-http-mock-context</comment>",
"BehatHttpMockContextBundle is registered in the test environment.",
"<fg=red>Add</> this to your behat.yml to finish setup:",
"...",
"contexts:",
" - BehatHttpMockContext\\Context\\MockContext",
"..."
]
},
"files": {
"config/packages/test/behat_http_mock_context.yaml": {
"contents": [
"services:",
" mock_http_client:",
" class: ExtendedMockHttpClient\\ExtendedMockHttpClient",
" arguments:",
" - '%env(YOUR_SERVICE_URL)%'",
" tags: ['mock.http_client']",
"",
" BehatHttpMockContext\\Collection\\ExtendedMockHttpClientCollection:",
" arguments:",
" - !tagged_iterator mock.http_client",
""
],
"executable": false
}
},
"ref": "cfcb015889b21e0db6f1b49b8448244255598dc1"
}
}
}