Skip to content

Commit f55a7a7

Browse files
committed
Update testing packages, revert to nullable in swagger schema
1 parent 4b0d901 commit f55a7a7

File tree

3 files changed

+387
-505
lines changed

3 files changed

+387
-505
lines changed

backend/embed/api_docs/components/CertificateObject.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,9 @@
3232
"description": "Updated Unix time with milliseconds"
3333
},
3434
"expires_on": {
35-
"oneOf": [
36-
{
37-
"type": "null"
38-
},
39-
{
40-
"type": "integer",
41-
"minimum": 1,
42-
"nullable": true
43-
}
44-
]
35+
"type": "integer",
36+
"minimum": 0,
37+
"nullable": true
4538
},
4639
"type": {
4740
"type": "string",
@@ -60,7 +53,8 @@
6053
},
6154
"dns_provider_id": {
6255
"type": "integer",
63-
"minimum": 0
56+
"minimum": 0,
57+
"nullable": true
6458
},
6559
"name": {
6660
"type": "string",

test/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
"description": "",
55
"main": "index.js",
66
"dependencies": {
7-
"@jc21/cypress-swagger-validation": "^0.1.0",
7+
"@jc21/cypress-swagger-validation": "^0.2.0",
88
"@jc21/restler": "^3.4.0",
9-
"chalk": "^4.1.1",
10-
"cypress": "^9.4.1",
11-
"cypress-multi-reporters": "^1.5.0",
9+
"chalk": "^5.2.0",
10+
"cypress": "^12.13.0",
11+
"cypress-multi-reporters": "^1.6.3",
1212
"cypress-wait-until": "^1.7.2",
13-
"eslint": "^7.28.0",
13+
"eslint": "^8.41.0",
1414
"eslint-plugin-align-assignments": "^1.1.2",
15-
"eslint-plugin-chai-friendly": "^0.7.1",
16-
"eslint-plugin-cypress": "^2.11.3",
15+
"eslint-plugin-chai-friendly": "^0.7.2",
16+
"eslint-plugin-cypress": "^2.13.3",
1717
"lodash": "^4.17.21",
18-
"mocha": "^9.0.0",
19-
"mocha-junit-reporter": "^2.0.0"
18+
"mocha": "^10.2.0",
19+
"mocha-junit-reporter": "^2.2.0"
2020
},
2121
"scripts": {
2222
"cypress": "cypress open --config-file=cypress/config/dev.json --config baseUrl=${BASE_URL:-http://127.0.0.1:3081}",

0 commit comments

Comments
 (0)