scorecard/clients
Naveen 26ef752c68
Improve GitLab repo status and webhook tests (#3368)
- Update test names and response paths for statuses and webhooks
- Lower the numeric tolerance for test files
- Change the error message when fetching webhooks

[clients/gitlabrepo/statuses_test.go]
- Change the name of the test from "valid webhook" to "valid status"
- Change the name of the test from "invalid webhook" to "failure fetching the status"
- Lower the numeric tolerance for test files
- Change the response path for the valid status test from "./testdata/valid-status" to "./testdata/invalid-status"
[clients/gitlabrepo/webhook_test.go]
- Change the error message when fetching webhooks from "invalid webhook" to "failure fetching webhooks"

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2023-08-09 22:12:16 +00:00
..
git Initial implementation of go-git client (#2720) 2023-03-15 21:28:09 +00:00
githubrepo Clear all possible token env vars for token accessor test. (#3347) 2023-08-03 21:31:01 -07:00
gitlabrepo Improve GitLab repo status and webhook tests (#3368) 2023-08-09 22:12:16 +00:00
localdir GitLab: Security Policy check (#2754) 2023-03-16 19:18:32 +00:00
mockclients 🐛 Gitlab: Commit/Commitor Exceptions (#3026) 2023-05-19 01:31:07 +00:00
ossfuzz 🐛 Fix parsing OSSFuzz project repos with subfolders and capitalization. (#3364) 2023-08-09 13:18:26 -07:00
branch.go Add support for RequiresLastPushReview in Branch Protection for GitHub (#2492) 2022-12-14 10:48:38 -08:00
checkruns.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
cii_blob_client.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
cii_client.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
cii_http_client.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
cii_response_test.go 🌱 Unit tests badge response (#3329) 2023-08-01 17:28:49 +00:00
cii_response.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
commit.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
issue.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
languages.go Detect fuzzing in Haskell by the presence of property tests. (#2843) 2023-04-12 17:29:29 +00:00
licenses.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
osv_test.go ⚠️ OSV scanner integration (#2509) 2022-12-12 16:46:43 -08:00
osv.go 🐛 Give inconclusive Vulnerabilities score when osv-scanner panics (#2896) 2023-04-24 17:26:20 +00:00
pull_request.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
release.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
repo_client.go GitLab: Security Policy check (#2754) 2023-03-16 19:18:32 +00:00
repo.go GitLab: Security Policy check (#2754) 2023-03-16 19:18:32 +00:00
search.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
statuses.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
user.go 🐛 Use leveled scoring for Code Review check (#2542) 2023-01-10 20:46:11 -08:00
vulnerabilities.go ⚠️ OSV scanner integration (#2509) 2022-12-12 16:46:43 -08:00
webhook.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
workflows.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00