File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,8 @@ curl "$WITH_ORIGIN" "$AS_JSON" -v --fail http://127.0.0.1:45457/ -d '{"query": "
2727# Can query interceptors
2828curl " $WITH_ORIGIN " " $AS_JSON " -v --fail http://127.0.0.1:45457/ -d ' {"query": "query getInterceptors { interceptors { id version, metadata isActivable isActive(proxyPort: 8000) } }"}'
2929
30+ # Can trigger update (can't test that it actually updates, unfortunately)
31+ curl " $WITH_ORIGIN " " $AS_JSON " -v --fail http://127.0.0.1:45457/ -d ' {"query": "mutation TriggerUpdate { triggerUpdate }"}'
32+
3033# ^ This will fail if they receive anything but a 200 result.
3134# This ensures that the server is startable, and has minimal functionality for launch.
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ curl %WITH_ORIGIN% %AS_JSON% -v --fail http://127.0.0.1:45457/ -d "{\"query\": \
2828REM Can query interceptors
2929curl %WITH_ORIGIN% %AS_JSON% -v --fail http://127.0.0.1:45457/ -d " {\" query\" : \" query getInterceptors { interceptors { id version, metadata isActivable isActive(proxyPort: 8000) } }\" }" || goto :error
3030
31+ REM Can trigger update (can't test that it actually updates, unfortunately)
32+ curl %WITH_ORIGIN% %AS_JSON% -v --fail http://127.0.0.1:45457/ -d " {\" query\" : \" mutation TriggerUpdate { triggerUpdate }\" }" || goto :error
33+
3134REM ^ This will fail if they receive anything but a 200 result.
3235REM This ensures that the server is startable, and has minimal functionality for launch.
3336
You can’t perform that action at this time.
0 commit comments