@@ -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 "/my- json-rpc-endpoint " demoApp kernel endpoint:
92+ When I send following "POST" input on "/json-rpc" 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 "/my- json-rpc-endpoint " demoApp kernel endpoint:
100+ When I send following "POST" input on "/json-rpc" 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 "/my- json-rpc-endpoint " demoApp kernel endpoint:
108+ When I send following "POST" input on "/json-rpc" 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 "/my- json-rpc-endpoint " demoApp kernel endpoint:
121+ When I send following "POST" input on "/json-rpc" 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 "/my- json-rpc-endpoint " demoApp kernel endpoint:
129+ When I send following "POST" input on "/json-rpc" demoApp kernel endpoint:
130130 """
131131 {"jsonrpc": "2.0", "method": "bundledGetAnotherDummy", "id": 2}
132132 """
@@ -140,31 +140,31 @@ Feature: demo symfony application
140140 Given DemoApp will use JsonRpcHttpServerBundle
141141 And I use my DemoApp custom method resolver
142142 # Ensure all methods have been loaded
143- When I send following "POST" input on "/my- json-rpc-endpoint " demoApp kernel endpoint:
143+ When I send following "POST" input on "/json-rpc" demoApp kernel endpoint:
144144 """
145145 {"jsonrpc": "2.0", "method": "customBundledMethodA", "id": 1}
146146 """
147147 Then I should have a "200" response from demoApp with following content:
148148 """
149149 {"jsonrpc":"2.0", "result":"MethodA", "id":1}
150150 """
151- When I send following "POST" input on "/my- json-rpc-endpoint " demoApp kernel endpoint:
151+ When I send following "POST" input on "/json-rpc" demoApp kernel endpoint:
152152 """
153153 {"jsonrpc": "2.0", "method": "customBundledMethodB", "id": 2}
154154 """
155155 Then I should have a "200" response from demoApp with following content:
156156 """
157157 {"jsonrpc":"2.0", "result":"MethodB", "id":2}
158158 """
159- When I send following "POST" input on "/my- json-rpc-endpoint " demoApp kernel endpoint:
159+ When I send following "POST" input on "/json-rpc" demoApp kernel endpoint:
160160 """
161161 {"jsonrpc": "2.0", "method": "customBundledMethodC", "id": 3}
162162 """
163163 Then I should have a "200" response from demoApp with following content:
164164 """
165165 {"jsonrpc":"2.0", "result":"MethodC", "id":3}
166166 """
167- When I send following "POST" input on "/my- json-rpc-endpoint " demoApp kernel endpoint:
167+ When I send following "POST" input on "/json-rpc" demoApp kernel endpoint:
168168 """
169169 {"jsonrpc": "2.0", "method": "customBundledMethodD", "id": 4}
170170 """
0 commit comments