Skip to content

Commit

Permalink
test(fixtures): add case stage & severity
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed Jun 8, 2020
1 parent 04ac742 commit ef0a8a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/fixtures/cases.js
Expand Up @@ -18,6 +18,14 @@ const cases = [
dischargedAt: '2020-05-04T02:59:48.323Z',
remarks: 'Handled.',
populate: {
stage: {
match: { namespace: 'CaseStage', 'strings.name.en': 'Suspect' },
model: 'Predefine',
},
severity: {
match: { namespace: 'CaseSeverity', 'strings.name.en': 'Mild' },
model: 'Predefine',
},
reporter: {
match: { name: 'Ali Mdoe' },
model: 'Party',
Expand Down Expand Up @@ -69,6 +77,14 @@ const cases = [
dischargedAt: '2020-05-04T02:59:48.323Z',
remarks: 'Handled.',
populate: {
stage: {
match: { namespace: 'CaseStage', 'strings.name.en': 'Confirmed' },
model: 'Predefine',
},
severity: {
match: { namespace: 'CaseSeverity', 'strings.name.en': 'Severe' },
model: 'Predefine',
},
reporter: {
match: { name: 'Ali Mdoe' },
model: 'Party',
Expand Down

0 comments on commit ef0a8a0

Please sign in to comment.