@@ -89,23 +89,23 @@ Feature: demo symfony application
8989 Scenario : Use Bundle with default method resolver with JSON-RPC method tags
9090 Given DemoApp will use JsonRpcHttpServerBundle
9191 # Ensure the two methods with tag have been loaded
92- When I send following "POST" input on "/json-rpc " demoApp kernel endpoint:
92+ When I send following "POST" input on "/my-custom-endpoint " demoApp kernel endpoint:
9393 """
9494 {"jsonrpc": "2.0", "method": "bundledMethodA", "id": 1}
9595 """
9696 Then I should have a "200" response from demoApp with following content:
9797 """
9898 {"jsonrpc":"2.0", "result":"MethodA", "id":1}
9999 """
100- When I send following "POST" input on "/json-rpc " demoApp kernel endpoint:
100+ When I send following "POST" input on "/my-custom-endpoint " demoApp kernel endpoint:
101101 """
102102 {"jsonrpc": "2.0", "method": "bundledMethodAAlias", "id": 2}
103103 """
104104 Then I should have a "200" response from demoApp with following content:
105105 """
106106 {"jsonrpc":"2.0", "result":"MethodA", "id":2}
107107 """
108- When I send following "POST" input on "/json-rpc " demoApp kernel endpoint:
108+ When I send following "POST" input on "/my-custom-endpoint " demoApp kernel endpoint:
109109 """
110110 {"jsonrpc": "2.0", "method": "bundledMethodB", "id": 3}
111111 """
@@ -118,15 +118,15 @@ Feature: demo symfony application
118118 Scenario : Use Bundle with default method resolver with JSON-RPC methods container injection
119119 Given DemoApp will use JsonRpcHttpServerBundle
120120 # Ensure the two injected methods have been injected
121- When I send following "POST" input on "/json-rpc " demoApp kernel endpoint:
121+ When I send following "POST" input on "/my-custom-endpoint " demoApp kernel endpoint:
122122 """
123123 {"jsonrpc": "2.0", "method": "bundledGetDummy", "id": 1}
124124 """
125125 Then I should have a "200" response from demoApp with following content:
126126 """
127127 {"jsonrpc":"2.0", "result":"MethodC", "id":1}
128128 """
129- When I send following "POST" input on "/json-rpc " demoApp kernel endpoint:
129+ When I send following "POST" input on "/my-custom-endpoint " demoApp kernel endpoint:
130130 """
131131 {"jsonrpc": "2.0", "method": "bundledGetAnotherDummy", "id": 2}
132132 """
0 commit comments