From 2cda8d8a9c99b7a0208ecc639b8f450f29622e8a Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Thu, 2 Jan 2025 11:46:22 +0000 Subject: [PATCH] Attempt to improve test coverage --- .github/workflows/rest-api-fuzzer.yml | 12 ------------ setup/fuzzer/dictionary.restler.json | 3 ++- setup/fuzzer/speckle-server.openapi.json | 5 +++-- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/rest-api-fuzzer.yml b/.github/workflows/rest-api-fuzzer.yml index 6e4a424008..923bdf57b2 100644 --- a/.github/workflows/rest-api-fuzzer.yml +++ b/.github/workflows/rest-api-fuzzer.yml @@ -224,18 +224,6 @@ jobs: echo "############################################" echo "" cat ${{ github.workspace }}/Test/restler-*.log || true - echo "" - echo "############################################" - echo "# Coverage report #" - echo "############################################" - echo "" - cat "$(find ${{ github.workspace }}/Test -type f -name "speccov.json")" || true - echo "" - echo "############################################" - echo "# Network testing logs #" - echo "############################################" - echo "" - cat "$(find ${{ github.workspace }}/Test -type f -name "network.testing.*.txt")" || true - uses: actions/upload-artifact@v4 name: Store the Test output diff --git a/setup/fuzzer/dictionary.restler.json b/setup/fuzzer/dictionary.restler.json index ebdf7e2893..874f1e52f7 100644 --- a/setup/fuzzer/dictionary.restler.json +++ b/setup/fuzzer/dictionary.restler.json @@ -12,7 +12,8 @@ "restler_fuzzable_bool": ["true"], "restler_fuzzable_object": ["{ \"fuzz\": false }"], "restler_custom_payload": { - "/graphql/post/Content-Type": ["application/json"] + "/graphql/post/Content-Type": "application/json", + "streamId": "815704124b" }, "restler_custom_payload_unquoted": {}, "restler_custom_payload_uuid4_suffix": {}, diff --git a/setup/fuzzer/speckle-server.openapi.json b/setup/fuzzer/speckle-server.openapi.json index e7f6818bf2..d483dae545 100644 --- a/setup/fuzzer/speckle-server.openapi.json +++ b/setup/fuzzer/speckle-server.openapi.json @@ -63,9 +63,10 @@ "type": "object", "properties": { "email": { "type": "string", "format": "email" }, - "password": { "type": "string" } + "password": { "type": "string" }, + "name": { "type": "string" } }, - "required": ["email", "password"] + "required": ["email", "password", "name"] } } }