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": "
27
27
# Can query interceptors
28
28
curl " $WITH_ORIGIN " " $AS_JSON " -v --fail http://127.0.0.1:45457/ -d ' {"query": "query getInterceptors { interceptors { id version, metadata isActivable isActive(proxyPort: 8000) } }"}'
29
29
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
+
30
33
# ^ This will fail if they receive anything but a 200 result.
31
34
# 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\": \
28
28
REM Can query interceptors
29
29
curl %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
30
30
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
+
31
34
REM ^ This will fail if they receive anything but a 200 result.
32
35
REM This ensures that the server is startable, and has minimal functionality for launch.
33
36
You can’t perform that action at this time.
0 commit comments