Add more test fixtures

This commit is contained in:
2019-05-06 14:18:02 +01:00
parent 6593005566
commit e524e5558d
2 changed files with 21 additions and 3 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ import Contributor from 'kredits-web/models/contributor';
const contributors = [];
const data = [
{ id: 1, name: 'Bumi', totalKreditsEarned: 5500 },
{ id: 2, name: 'Râu Cao', totalKreditsEarned: 1500 },
{ id: 3, name: 'Manuel', totalKreditsEarned: 3000 }
{ id: 1, name: 'Bumi', totalKreditsEarned: 11500 },
{ id: 2, name: 'Râu Cao', totalKreditsEarned: 3000 },
{ id: 3, name: 'Manuel', totalKreditsEarned: 0 }
];
data.forEach(attrs => contributors.push(Contributor.create(attrs)));