tests: Add authentication, authorization bypass tests

This commit is contained in:
Richard Hansen 2020-09-14 00:39:10 -04:00 committed by John McLear
parent 80639fdc6a
commit 9e6d3f3f63
4 changed files with 210 additions and 1 deletions

View file

@ -78,6 +78,7 @@
"mocha": "7.1.2",
"mocha-froth": "^0.2.10",
"nyc": "15.0.1",
"set-cookie-parser": "^2.4.6",
"supertest": "4.0.2",
"wd": "1.12.1"
},
@ -90,7 +91,7 @@
"url": "https://github.com/ether/etherpad-lite.git"
},
"scripts": {
"test": "nyc mocha --timeout 5000 ../tests/backend/specs/api",
"test": "nyc mocha --timeout 5000 --recursive ../tests/backend/specs",
"test-contentcollector": "nyc mocha --timeout 5000 ../tests/backend/specs",
"test-container": "nyc mocha --timeout 5000 ../tests/container/specs/api"
},