Skip to content

Commit

Permalink
Attempt to improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Jan 2, 2025
1 parent 7e2e079 commit 2cda8d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/rest-api-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup/fuzzer/dictionary.restler.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down
5 changes: 3 additions & 2 deletions setup/fuzzer/speckle-server.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
}
Expand Down

0 comments on commit 2cda8d8

Please sign in to comment.