Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jameswgoddard/issue 345 #354

Merged
merged 5 commits into from
Feb 3, 2021
Merged

Jameswgoddard/issue 345 #354

merged 5 commits into from
Feb 3, 2021

Conversation

jameswgoddard
Copy link
Contributor

Description

Should close issue-343 , issue-344, and issue-345

Related PRs

List related PRs against other branches:

branch PR
Replaces closed PR 352

Deploy Notes

docker-compose up -d --build

Steps to Test or Reproduce

docker-compose up -d --build
docker ps 
docker exec -it <api container ID> npm test

Manual testing using swaggerUI as appropriate based on the issues linked above.

Impacted Areas in Application

List general components of the application that this PR will affect:

  • POST /user
  • POST /contact/send
  • POST /userRole/delete
  • swagger.json
  • tests associated with affected endpoints

Fixed issue-345 by removing unpredicatable parameters from the /contact/send section of swagger.json.
Ensured app is not trying to listen on the same port twice so that npm test will pass.
Shamelessly added myself to the contributors file :-)
@codecov
Copy link

codecov bot commented Jan 29, 2021

Codecov Report

Merging #354 (f182d65) into master (8fc057a) will decrease coverage by 1.04%.
The diff coverage is 38.09%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
- Coverage   83.91%   82.87%   -1.05%     
==========================================
  Files          17       17              
  Lines         684      695      +11     
==========================================
+ Hits          574      576       +2     
- Misses        110      119       +9     
Impacted Files Coverage Δ
src/index.js 89.79% <33.33%> (-3.96%) ⬇️
src/routes/user.js 75.55% <35.71%> (-6.16%) ⬇️
src/routes/user-role.js 79.06% <50.00%> (-1.42%) ⬇️
src/email/index.js 87.50% <0.00%> (+6.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fc057a...38a9bc3. Read the comment docs.

Updated password for new user test to pass pwaard criteria
@blakenan-bellese
Copy link
Contributor

@jameswgoddard I'm in the process of reviewing and testing this PR. I've updated the postman collection so that the POST User passes as expected.

swagger.json Show resolved Hide resolved
swagger.json Show resolved Hide resolved
@blakenan-bellese blakenan-bellese merged commit c7a1270 into CodeForBaltimore:master Feb 3, 2021
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.

Swagger and possible code defect in POST ~/user - example gives 400
2 participants