Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

cmd/server: whitelist only certain CustomerStatus transistions #19

Merged
merged 2 commits into from
Jun 5, 2019

Conversation

adamdecaf
Copy link
Member

Not every CustomerStatus can be converted into another, so we need to block bad transistions.

Issue: #5

Not every CustomerStatus can be converted into another, so we need to block bad transistions.

Issue: moov-io#5
@codecov-io
Copy link

codecov-io commented Jun 3, 2019

Codecov Report

Merging #19 into master will increase coverage by 0.59%.
The diff coverage is 71.05%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   57.02%   57.62%   +0.59%     
==========================================
  Files           7        7              
  Lines         854      892      +38     
==========================================
+ Hits          487      514      +27     
- Misses        295      303       +8     
- Partials       72       75       +3

@adamdecaf adamdecaf merged commit f832f4a into moov-io:master Jun 5, 2019
@adamdecaf adamdecaf deleted the customer-status-validation branch June 5, 2019 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants