Skip to content

Commit

Permalink
Update settings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yeln4ts committed Jun 12, 2023
1 parent 06ac7d9 commit 8b0a7f4
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions backend/tests/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ module.exports = function(request, app) {
},
"highlightWarning": false,
"highlightWarningColor": "#ffff25",
"requiredFields": {
"company": false,
"client": false,
"dateStart": false,
"dateEnd": false,
"dateReport": false,
"findingType": false,
"scope": false,
"findingDescription": false,
"findingObservation": false,
"findingReferences": false,
"findingProofs": false,
"findingAffected": false,
"findingRemediationDifficulty": false,
"findingPriority": false,
"findingRemediation": false
}
},
},
"reviews": {
Expand Down Expand Up @@ -53,6 +70,23 @@ module.exports = function(request, app) {
},
"highlightWarning": false,
"highlightWarningColor": "#ffff25",
"requiredFields": {
"company": false,
"client": false,
"dateStart": false,
"dateEnd": false,
"dateReport": false,
"findingType": false,
"scope": false,
"findingDescription": false,
"findingObservation": false,
"findingReferences": false,
"findingProofs": false,
"findingAffected": false,
"findingRemediationDifficulty": false,
"findingPriority": false,
"findingRemediation": false
}
},
},
"reviews": {
Expand Down Expand Up @@ -109,6 +143,24 @@ module.exports = function(request, app) {
},
"highlightWarning": true,
"highlightWarningColor": "#123456",
"requiredFields": {
"company": true,
"client": false,
"dateStart": true,
"dateEnd": true,
"dateReport": false,
"findingType": false,
"scope": true,
"findingDescription": false,
"findingObservation": false,
"findingReferences": false,
"findingProofs": false,
"findingAffected": false,
"findingRemediationDifficulty": false,
"findingPriority": false,
"findingRemediation": false
}

},
},
"reviews": {
Expand Down

0 comments on commit 8b0a7f4

Please sign in to comment.