Test add a returnsAll scope to player fixture
This commit is contained in:
parent
d1fc6d46e8
commit
ce26814f74
7
test/fixtures/models/player.js
vendored
7
test/fixtures/models/player.js
vendored
@ -27,6 +27,13 @@ export default (sequelize, DataTypes) => {
|
|||||||
name: 'notaname',
|
name: 'notaname',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
returnsAll: {
|
||||||
|
where: {
|
||||||
|
name: {
|
||||||
|
$ne: 'notaname',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user