GTBitsOfGood / angels-among-us

Rescue one until there are none
https://staging--angels-among-us.netlify.app
MIT License
4 stars 0 forks source link

312 admin create multiple accounts #315

Closed ShivaniVora closed 8 months ago

ShivaniVora commented 8 months ago

known issues:

netlify[bot] commented 8 months ago

Deploy Preview for angels-among-us ready!

Name Link
Latest commit b71bff42b898b366ecd0f5e94754cf87273dd883
Latest deploy log https://app.netlify.com/sites/angels-among-us/deploys/65ee5fc28eb6840008f296d2
Deploy Preview https://deploy-preview-315--angels-among-us.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 8 months ago

Coverage report for web

[!CAUTION] Test run failed

St.:grey_question:
Category Percentage Covered / Total
🔴 Statements
24.4% (-0.13% 🔻)
519/2127
🔴 Branches
8.7% (-0.04% 🔻)
61/701
🔴 Functions
13.17% (+0.17% 🔼)
83/630
🔴 Lines
20.31% (-0.11% 🔻)
383/1886

Test suite run failed

Failed tests: 17/44. Failed suites: 2/7.
``` ● [DB] Account - Unit Test › findAccount › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › findAccount › all caps email ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › findAccount › unauthorized email ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › findAccount › db error ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › removeAllAccounts › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › removeAllAccounts › unauthorized account ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › removeAllAccounts › authorized with unauthorized accounts ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › updateAccount › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › updateAccount › unauthorized account ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › addAccount › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › addAccount › existing account ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › findAll › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › findAll › db error ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › searchAccounts › happy ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] Account - Unit Test › searchAccounts › not found ValidationError: Account validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ``` --- ``` ● [DB] User - Unit Test › searchUsers › happy ValidationError: User validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ● [DB] User - Unit Test › searchUsers › empty array ValidationError: User validation failed: lowerEmail: Path `lowerEmail` is required. at model.Object..Document.invalidate (node_modules/mongoose/lib/document.js:3174:32) at node_modules/mongoose/lib/document.js:2962:17 at node_modules/mongoose/lib/schematype.js:1349:9 ```

Report generated by 🧪jest coverage report action from b71bff42b898b366ecd0f5e94754cf87273dd883