feat: implement game filter to find games all selected people would play and add supporting test data
This commit is contained in:
+41
@@ -8,12 +8,53 @@
|
||||
"max_players": 90,
|
||||
"price": 0,
|
||||
"remote_id": 0
|
||||
},
|
||||
{
|
||||
"title": "Test2",
|
||||
"source": 1,
|
||||
"multiplayer": true,
|
||||
"min_players": 1,
|
||||
"max_players": 1,
|
||||
"price": 0,
|
||||
"remote_id": 0
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"person": {
|
||||
"name": "John",
|
||||
"opinion": [
|
||||
{
|
||||
"title": "Naramo Nuclear Plant V2",
|
||||
"would_play": true
|
||||
},
|
||||
{
|
||||
"title": "Test2",
|
||||
"would_play": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"password_hash": "$2b$12$DRvTP/ibTWULkuJJr285bumRd7SG3n5bYkDpb09Qpklqf6FeTiHkC"
|
||||
},
|
||||
{
|
||||
"person": {
|
||||
"name": "John2",
|
||||
"opinion": [
|
||||
{
|
||||
"title": "Naramo Nuclear Plant V2",
|
||||
"would_play": false
|
||||
},
|
||||
{
|
||||
"title": "Test2",
|
||||
"would_play": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"password_hash": "$2b$12$DRvTP/ibTWULkuJJr285bumRd7SG3n5bYkDpb09Qpklqf6FeTiHkC"
|
||||
},
|
||||
{
|
||||
"person": {
|
||||
"name": "John3",
|
||||
"opinion": [
|
||||
{
|
||||
"title": "Naramo Nuclear Plant V2",
|
||||
|
||||
Reference in New Issue
Block a user