CMPUT301F18T16 / Baudit

A health auditing application
https://cmput301f18t16.github.io/Baudit/
MIT License
0 stars 0 forks source link

Fix assigning invalid patient account QR code #202

Closed nklapste closed 5 years ago

nklapste commented 5 years ago

Fixes crash that is caused by a care provider attempting to add a invalid Account QR code (i.e. not a patient account QR code).

codecov[bot] commented 5 years ago

Codecov Report

Merging #202 into master will increase coverage by 0.29%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
+ Coverage   46.76%   47.06%   +0.29%     
==========================================
  Files          53       53              
  Lines        1702     1702              
  Branches      106      106              
==========================================
+ Hits          796      801       +5     
+ Misses        851      848       -3     
+ Partials       55       53       -2
Flag Coverage Δ
#instrumentation 40.01% <0%> (+0.29%) :arrow_up:
#unit 13.57% <0%> (ø) :arrow_up:
Impacted Files Coverage Δ
...n/baudit/presenters/CareProviderHomePresenter.java 32.14% <0%> (ø) :arrow_up:
...pstein/baudit/presenters/EditAccountPresenter.java 27.77% <0%> (+2.77%) :arrow_up:
...ain/java/ca/klapstein/baudit/models/DataModel.java 58.33% <0%> (+4.76%) :arrow_up:

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 e310455...7ed3814. Read the comment docs.