Skip to content

HT-23 Implemented auth tests#13

Merged
Lenton99 merged 4 commits intodevelopfrom
HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server
Feb 9, 2022
Merged

HT-23 Implemented auth tests#13
Lenton99 merged 4 commits intodevelopfrom
HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server

Conversation

@Lenton99
Copy link
Collaborator

@Lenton99 Lenton99 commented Feb 8, 2022

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

63.50%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
app.js96.55%100%0%100%
utilities.js69.23%50%50%77.78%11, 14, 7
business
   bill.business.js28%0%14.29%42.86%16, 19, 19–20, 20, 22, 25, 32, 35, 43, 46–47
   user.business.js37.74%8.33%41.67%48.28%102, 111, 111, 111, 111, 111, 24–25, 50, 58, 64, 72, 72, 72–73, 75, 82–83, 83, 83–85, 85, 85–87
config
   db.config.js100%100%100%100%
controllers
   auth.controller.js54.17%100%28.57%64.71%24, 32, 35, 40, 48–49
   bill.controller.js21.74%100%0%35.71%11, 19–21, 28–30, 8–9
database
   index.js70.97%50%40%79.17%17, 26–27, 30, 42–43
datalayer
   mongo.js26.32%100%22.22%30%11, 16–17, 26, 42, 49, 51
middleware/auth
   authJwt.js13.33%0%0%21.05%10, 12–13, 13, 13–14, 19–23, 28, 30, 30, 30–31, 36, 5, 5, 5, 5, 5–6
models
   bill.model.js46.15%100%50%45.45%28–32, 34
   journey.model.js100%100%100%100%
   location.model.js100%100%100%100%
   user.model.js100%100%100%100%
routes
   auth.routes.js100%100%100%100%
   bill.routes.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   utilities.js100%100%100%100%
src/store
   store.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

85.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
app.js96.55%100%0%100%
utilities.js84.62%50%100%88.89%11, 14
business
   bill.business.js76%100%57.14%78.57%25, 32, 35
   user.business.js88.68%83.33%91.67%89.66%102, 72–73, 85, 87
config
   db.config.js100%100%100%100%
controllers
   auth.controller.js87.50%100%85.71%88.24%48–49
   bill.controller.js65.22%100%55.56%71.43%11, 19–21
database
   index.js70.97%50%40%79.17%17, 26–27, 30, 42–43
datalayer
   mongo.js89.47%100%88.89%90%26
middleware/auth
   authJwt.js70%62.50%66.67%73.68%13–14, 28, 30, 30, 30–31, 36
models
   bill.model.js46.15%100%50%45.45%28–32, 34
   journey.model.js100%100%100%100%
   location.model.js100%100%100%100%
   user.model.js100%100%100%100%
routes
   auth.routes.js100%100%100%100%
   bill.routes.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   utilities.js100%100%100%100%
src/store
   store.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

87.18%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
app.js96.55%100%0%100%
utilities.js84.62%50%100%88.89%11, 14
business
   bill.business.js76%100%57.14%78.57%25, 32, 35
   user.business.js92.45%91.67%91.67%93.10%102, 85, 87
config
   db.config.js100%100%100%100%
controllers
   auth.controller.js87.50%100%85.71%88.24%48–49
   bill.controller.js65.22%100%55.56%71.43%11, 19–21
database
   index.js70.97%50%40%79.17%17, 26–27, 30, 42–43
datalayer
   mongo.js89.47%100%88.89%90%26
middleware/auth
   authJwt.js90.91%83.33%100%92.86%13–14
models
   bill.model.js46.15%100%50%45.45%28–32, 34
   journey.model.js100%100%100%100%
   location.model.js100%100%100%100%
   user.model.js100%100%100%100%
routes
   auth.routes.js100%100%100%100%
   bill.routes.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   utilities.js100%100%100%100%
src/store
   store.js100%100%100%100%

@Lenton99 Lenton99 requested a review from jarrodback February 9, 2022 12:17
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

89.23%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
app.js96.55%100%0%100%
utilities.js84.62%50%100%88.89%11, 14
business
   bill.business.js84%100%71.43%85.71%25, 35
   user.business.js92.45%91.67%91.67%93.10%102, 85, 87
config
   db.config.js100%100%100%100%
controllers
   auth.controller.js87.50%100%85.71%88.24%48–49
   bill.controller.js82.61%100%77.78%85.71%11, 21
database
   index.js70.97%50%40%79.17%17, 26–27, 30, 42–43
datalayer
   mongo.js100%100%100%100%
middleware/auth
   authJwt.js90.91%83.33%100%92.86%13–14
models
   bill.model.js46.15%100%50%45.45%28–32, 34
   journey.model.js100%100%100%100%
   location.model.js100%100%100%100%
   user.model.js100%100%100%100%
routes
   auth.routes.js100%100%100%100%
   bill.routes.js100%100%100%100%

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

Coverage after merging HT-23-create-positive-and-negative-tests-for-authorisation-and-authentication-on-the-server into develop will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   utilities.js100%100%100%100%
src/store
   store.js100%100%100%100%

@Lenton99 Lenton99 merged commit e06b359 into develop Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants