Skip to content

Commit 1c25b90

Browse files
Maffoochclaude
andcommitted
fix: drop credential_manager refs from sample_data_locations fixture + matrix
- dojo/fixtures/defect_dojo_sample_data_locations.json: missed in the previous fixture sweep — strip enable_credentials, cred_user / cred_mapping rows, and the matching watson.searchentry rows so loaddata stops failing. - .github/workflows/integration-tests.yml: drop the credential_test.py and product_credential_test.py entries from the UI test matrix; both files were deleted in this PR and CI was failing trying to run them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 12d749f commit 1c25b90

3 files changed

Lines changed: 2 additions & 112 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
"tests/check_various_pages.py",
2323
"tests/close_old_findings_dedupe_test.py",
2424
"tests/close_old_findings_test.py",
25-
"tests/credential_test.py",
2625
"tests/dashboard_test.py",
2726
"tests/dedupe_test.py",
2827
"tests/endpoint_extended_test.py",
@@ -46,7 +45,6 @@ jobs:
4645
"tests/notification_webhook_test.py",
4746
"tests/notifications_test.py",
4847
"tests/object_test.py",
49-
"tests/product_credential_test.py",
5048
"tests/product_group_test.py",
5149
"tests/product_member_test.py",
5250
"tests/product_metadata_test.py",

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,4 @@ docs/.hugo_build.lock
152152

153153
# claude etc
154154
MEMORY.md
155+
.claude/

dojo/fixtures/defect_dojo_sample_data_locations.json

Lines changed: 1 addition & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,6 @@
803803
"enable_benchmark": true,
804804
"enable_calendar": true,
805805
"enable_checklists": true,
806-
"enable_credentials": true,
807806
"enable_cvss3_display": true,
808807
"enable_cvss4_display": true,
809808
"enable_deduplication": false,
@@ -79019,60 +79018,6 @@
7901979018
"model": "watson.searchentry",
7902079019
"pk": 3
7902179020
},
79022-
{
79023-
"fields": {
79024-
"content": "",
79025-
"content_type": [
79026-
"dojo",
79027-
"cred_user"
79028-
],
79029-
"description": "",
79030-
"engine_slug": "default",
79031-
"meta_encoded": "{}",
79032-
"object_id": "3",
79033-
"object_id_int": 3,
79034-
"title": "Web Scan (Mar 21, 2021)",
79035-
"url": ""
79036-
},
79037-
"model": "watson.searchentry",
79038-
"pk": 4
79039-
},
79040-
{
79041-
"fields": {
79042-
"content": "",
79043-
"content_type": [
79044-
"dojo",
79045-
"cred_user"
79046-
],
79047-
"description": "",
79048-
"engine_slug": "default",
79049-
"meta_encoded": "{}",
79050-
"object_id": "13",
79051-
"object_id_int": 13,
79052-
"title": "Web Scan (Apr 21, 2021)",
79053-
"url": ""
79054-
},
79055-
"model": "watson.searchentry",
79056-
"pk": 5
79057-
},
79058-
{
79059-
"fields": {
79060-
"content": "",
79061-
"content_type": [
79062-
"dojo",
79063-
"cred_user"
79064-
],
79065-
"description": "",
79066-
"engine_slug": "default",
79067-
"meta_encoded": "{}",
79068-
"object_id": "14",
79069-
"object_id_int": 14,
79070-
"title": "Web Scan (Mar 21, 2021)",
79071-
"url": ""
79072-
},
79073-
"model": "watson.searchentry",
79074-
"pk": 6
79075-
},
7907679021
{
7907779022
"fields": {
7907879023
"content": "High Impact test finding None HIGH test finding test mitigation HIGH S0 None None None None None 5b0dead640b58a2b778aa2e8f5cccf67df7dc833b0c3f410985d1237615c86e7 ",
@@ -79415,60 +79360,6 @@
7941579360
"model": "watson.searchentry",
7941679361
"pk": 25
7941779362
},
79418-
{
79419-
"fields": {
79420-
"content": "",
79421-
"content_type": [
79422-
"dojo",
79423-
"cred_user"
79424-
],
79425-
"description": "",
79426-
"engine_slug": "default",
79427-
"meta_encoded": "{}",
79428-
"object_id": "3",
79429-
"object_id_int": 3,
79430-
"title": "Web Scan (Mar 21, 2021)",
79431-
"url": ""
79432-
},
79433-
"model": "watson.searchentry",
79434-
"pk": 26
79435-
},
79436-
{
79437-
"fields": {
79438-
"content": "",
79439-
"content_type": [
79440-
"dojo",
79441-
"cred_user"
79442-
],
79443-
"description": "",
79444-
"engine_slug": "default",
79445-
"meta_encoded": "{}",
79446-
"object_id": "13",
79447-
"object_id_int": 13,
79448-
"title": "Web Scan (Apr 21, 2021)",
79449-
"url": ""
79450-
},
79451-
"model": "watson.searchentry",
79452-
"pk": 27
79453-
},
79454-
{
79455-
"fields": {
79456-
"content": "",
79457-
"content_type": [
79458-
"dojo",
79459-
"cred_user"
79460-
],
79461-
"description": "",
79462-
"engine_slug": "default",
79463-
"meta_encoded": "{}",
79464-
"object_id": "14",
79465-
"object_id_int": 14,
79466-
"title": "Web Scan (Mar 21, 2021)",
79467-
"url": ""
79468-
},
79469-
"model": "watson.searchentry",
79470-
"pk": 28
79471-
},
7947279363
{
7947379364
"fields": {
7947479365
"content": "High Impact test finding None HIGH test finding test mitigation HIGH S0 None None None None None 5b0dead640b58a2b778aa2e8f5cccf67df7dc833b0c3f410985d1237615c86e7 ",
@@ -93323,4 +93214,4 @@
9332393214
"model": "authtoken.token",
9332493215
"pk": "6d45bc1d2e5cea8c4559edd68f910cc485f61708"
9332593216
}
93326-
]
93217+
]

0 commit comments

Comments
 (0)