Skip to content

Commit

Permalink
test(fixtures): add priorities seed
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed May 18, 2020
1 parent d95e63f commit 49b2da2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/fixtures/predefines/priorities.js
@@ -0,0 +1,14 @@
const priorities = [
{
namespace: 'Priority',
strings: { name: { en: 'Critical' }, color: '#FF0000' },
numbers: { weight: 1 },
},
{
namespace: 'Priority',
strings: { name: { en: 'Unknown' }, color: '#FFFFFF' },
numbers: { weight: 10 },
},
];

export default priorities;
4 changes: 4 additions & 0 deletions test/fixtures/vehicledispatches.js
Expand Up @@ -129,6 +129,10 @@ const dispatches = [
match: { namespace: 'VehicleStatus', 'strings.name.en': 'Idle' },
model: 'Predefine',
},
priority: {
match: { namespace: 'Priority', 'strings.name.en': 'Critical' },
model: 'Predefine',
},
},
},
];
Expand Down

0 comments on commit 49b2da2

Please sign in to comment.