File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
macpaw/behat-http-mock-context/1.0 Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ services :
2
+ mock_http_client :
3
+ class : ExtendedMockHttpClient\ExtendedMockHttpClient
4
+ arguments :
5
+ - ' %env(YOUR_SERVICE_URL)%'
6
+ tags : ['mock.http_client']
7
+
8
+ BehatHttpMockContext\Collection\ExtendedMockHttpClientCollection :
9
+ arguments :
10
+ - !tagged_iterator mock.http_client
Original file line number Diff line number Diff line change
1
+ {
2
+ "bundles" : {
3
+ "BehatHttpMockContext\\ BehatHttpMockContextBundle" : [" test" ]
4
+ },
5
+ "copy-from-recipe" : {
6
+ "config/" : " %CONFIG_DIR%/"
7
+ },
8
+ "post-install-output" : [
9
+ " <fg=blue>Read</> the documentation at <comment>https://github.com/MacPaw/behat-http-mock-context</comment>" ,
10
+ " BehatHttpMockContextBundle is registered in the test environment." ,
11
+ " <fg=red>Add</> this to your behat.yml to finish setup:" ,
12
+ " ..." ,
13
+ " contexts:" ,
14
+ " - BehatHttpMockContext\\ Context\\ MockContext" ,
15
+ " ..."
16
+ ]
17
+ }
You can’t perform that action at this time.
0 commit comments