|
57 | 57 | snapshots["test_child_query 1"] = { |
58 | 58 | "data": { |
59 | 59 | "child": { |
60 | | - "birthdate": "2020-09-07", |
61 | | - "firstName": "John", |
62 | | - "lastName": "Terrell", |
63 | | - "postalCode": "77671", |
| 60 | + "birthdate": "2020-06-24", |
| 61 | + "firstName": "Michael", |
| 62 | + "lastName": "Patton", |
| 63 | + "postalCode": "55777", |
64 | 64 | "relationships": { |
65 | 65 | "edges": [ |
66 | 66 | { |
67 | 67 | "node": { |
68 | 68 | "guardian": { |
69 | | - "email": "mperez@cox.com", |
70 | | - "firstName": "Gregory", |
71 | | - "lastName": "Cross", |
72 | | - "phoneNumber": "750-649-7638x0346", |
| 69 | + "email": "michellewalker@example.net", |
| 70 | + "firstName": "Samantha", |
| 71 | + "lastName": "Bryant", |
| 72 | + "phoneNumber": "240-675-0649", |
73 | 73 | }, |
74 | | - "type": "OTHER_GUARDIAN", |
| 74 | + "type": "ADVOCATE", |
75 | 75 | } |
76 | 76 | } |
77 | 77 | ] |
|
83 | 83 | snapshots["test_child_query_not_own_child_project_user 1"] = { |
84 | 84 | "data": { |
85 | 85 | "child": { |
86 | | - "birthdate": "2020-09-07", |
87 | | - "firstName": "John", |
88 | | - "lastName": "Terrell", |
89 | | - "postalCode": "77671", |
| 86 | + "birthdate": "2020-06-24", |
| 87 | + "firstName": "Michael", |
| 88 | + "lastName": "Patton", |
| 89 | + "postalCode": "55777", |
90 | 90 | "relationships": { |
91 | 91 | "edges": [ |
92 | 92 | { |
93 | 93 | "node": { |
94 | 94 | "guardian": { |
95 | | - "email": "kelly76@allen.com", |
96 | | - "firstName": "Ashley", |
97 | | - "lastName": "Castillo", |
98 | | - "phoneNumber": "(117)159-1023x202", |
| 95 | + "email": "funderwood@example.com", |
| 96 | + "firstName": "Blake", |
| 97 | + "lastName": "Newton", |
| 98 | + "phoneNumber": "976-380-3466x9727", |
99 | 99 | }, |
100 | | - "type": "OTHER_RELATION", |
| 100 | + "type": "PARENT", |
101 | 101 | } |
102 | 102 | } |
103 | 103 | ] |
|
156 | 156 | "edges": [ |
157 | 157 | { |
158 | 158 | "node": { |
159 | | - "birthdate": "2020-09-07", |
160 | | - "firstName": "John", |
161 | | - "lastName": "Terrell", |
162 | | - "postalCode": "77671", |
| 159 | + "birthdate": "2020-06-24", |
| 160 | + "firstName": "Michael", |
| 161 | + "lastName": "Patton", |
| 162 | + "postalCode": "55777", |
163 | 163 | "relationships": { |
164 | 164 | "edges": [ |
165 | 165 | { |
166 | 166 | "node": { |
167 | 167 | "guardian": { |
168 | | - "email": "mperez@cox.com", |
169 | | - "firstName": "Gregory", |
170 | | - "lastName": "Cross", |
171 | | - "phoneNumber": "750-649-7638x0346", |
| 168 | + "email": "michellewalker@example.net", |
| 169 | + "firstName": "Samantha", |
| 170 | + "lastName": "Bryant", |
| 171 | + "phoneNumber": "240-675-0649", |
172 | 172 | }, |
173 | | - "type": "OTHER_GUARDIAN", |
| 173 | + "type": "ADVOCATE", |
174 | 174 | } |
175 | 175 | } |
176 | 176 | ] |
|
267 | 267 | "edges": [ |
268 | 268 | { |
269 | 269 | "node": { |
270 | | - "birthdate": "2020-04-06", |
| 270 | + "birthdate": "2020-05-21", |
271 | 271 | "firstName": "Same project", |
272 | 272 | "lastName": "Should be returned 1/1", |
273 | | - "postalCode": "57776", |
| 273 | + "postalCode": "73557", |
274 | 274 | "relationships": { |
275 | 275 | "edges": [ |
276 | 276 | { |
277 | 277 | "node": { |
278 | 278 | "guardian": { |
279 | | - "email": "rachelcruz@jenkins-crane.net", |
280 | | - "firstName": "Brandon", |
281 | | - "lastName": "Adams", |
282 | | - "phoneNumber": "727-011-7159x10232", |
| 279 | + "email": "jessica67@example.com", |
| 280 | + "firstName": "Blake", |
| 281 | + "lastName": "Newton", |
| 282 | + "phoneNumber": "976-380-3466x9727", |
283 | 283 | }, |
284 | | - "type": "ADVOCATE", |
| 284 | + "type": "PARENT", |
285 | 285 | } |
286 | 286 | } |
287 | 287 | ] |
|
299 | 299 | "edges": [ |
300 | 300 | { |
301 | 301 | "node": { |
302 | | - "birthdate": "2020-08-29", |
| 302 | + "birthdate": "2020-11-15", |
303 | 303 | "firstName": "Own child same project", |
304 | 304 | "lastName": "Should be returned 1/3", |
305 | | - "postalCode": "38034", |
| 305 | + "postalCode": "50649", |
306 | 306 | "relationships": { |
307 | 307 | "edges": [ |
308 | 308 | { |
309 | 309 | "node": { |
310 | 310 | "guardian": { |
311 | | - "email": "mperez@cox.com", |
312 | | - "firstName": "John", |
313 | | - "lastName": "Terrell", |
314 | | - "phoneNumber": "777.671.2406x75064", |
| 311 | + "email": "michellewalker@example.net", |
| 312 | + "firstName": "Michael", |
| 313 | + "lastName": "Patton", |
| 314 | + "phoneNumber": "355.777.6712x406", |
315 | 315 | }, |
316 | | - "type": "OTHER_GUARDIAN", |
| 316 | + "type": "ADVOCATE", |
317 | 317 | } |
318 | 318 | } |
319 | 319 | ] |
|
322 | 322 | }, |
323 | 323 | { |
324 | 324 | "node": { |
325 | | - "birthdate": "2020-08-09", |
| 325 | + "birthdate": "2020-06-08", |
326 | 326 | "firstName": "Own child another project", |
327 | 327 | "lastName": "Should be returned 2/3", |
328 | | - "postalCode": "27011", |
| 328 | + "postalCode": "80346", |
329 | 329 | "relationships": { |
330 | 330 | "edges": [ |
331 | 331 | { |
332 | 332 | "node": { |
333 | 333 | "guardian": { |
334 | | - "email": "mperez@cox.com", |
335 | | - "firstName": "John", |
336 | | - "lastName": "Terrell", |
337 | | - "phoneNumber": "777.671.2406x75064", |
| 334 | + "email": "michellewalker@example.net", |
| 335 | + "firstName": "Michael", |
| 336 | + "lastName": "Patton", |
| 337 | + "phoneNumber": "355.777.6712x406", |
338 | 338 | }, |
339 | 339 | "type": "ADVOCATE", |
340 | 340 | } |
|
345 | 345 | }, |
346 | 346 | { |
347 | 347 | "node": { |
348 | | - "birthdate": "2020-07-03", |
| 348 | + "birthdate": "2020-08-09", |
349 | 349 | "firstName": "Not own child same project", |
350 | 350 | "lastName": "Should be returned 3/3", |
351 | | - "postalCode": "15910", |
| 351 | + "postalCode": "27011", |
352 | 352 | "relationships": { |
353 | 353 | "edges": [ |
354 | 354 | { |
355 | 355 | "node": { |
356 | 356 | "guardian": { |
357 | | - "email": "shawn70@hawkins-davis.com", |
358 | | - "firstName": "Alexis", |
359 | | - "lastName": "Santiago", |
360 | | - "phoneNumber": "(447)446-8581", |
| 357 | + "email": "hernandezdennis@example.org", |
| 358 | + "firstName": "Sandra", |
| 359 | + "lastName": "Meyer", |
| 360 | + "phoneNumber": "072.770.8981", |
361 | 361 | }, |
362 | | - "type": "OTHER_GUARDIAN", |
| 362 | + "type": "ADVOCATE", |
363 | 363 | } |
364 | 364 | } |
365 | 365 | ] |
|
390 | 390 | "node": { |
391 | 391 | "createdAt": "2020-12-12T00:00:00+00:00", |
392 | 392 | "occurrences": { |
393 | | - "edges": [{"node": {"remainingCapacity": 0}}] |
| 393 | + "edges": [{"node": {"remainingCapacity": 46}}] |
394 | 394 | }, |
395 | 395 | } |
396 | 396 | } |
|
420 | 420 | "name": "enrolled occurrence in the past", |
421 | 421 | "occurrences": { |
422 | 422 | "edges": [ |
423 | | - {"node": {"remainingCapacity": 23}}, |
424 | | - {"node": {"remainingCapacity": 24}}, |
| 423 | + {"node": {"remainingCapacity": 12}}, |
| 424 | + {"node": {"remainingCapacity": 13}}, |
425 | 425 | ] |
426 | 426 | }, |
427 | 427 | } |
|
446 | 446 | { |
447 | 447 | "node": { |
448 | 448 | "guardian": { |
449 | | - "email": "mperez@cox.com", |
| 449 | + "email": "michellewalker@example.net", |
450 | 450 | "firstName": "Gulle", |
451 | 451 | "lastName": "Guardian", |
452 | 452 | "phoneNumber": "777-777777", |
|
467 | 467 | { |
468 | 468 | "node": { |
469 | 469 | "guardian": { |
470 | | - "email": "mperez@cox.com", |
| 470 | + "email": "michellewalker@example.net", |
471 | 471 | "firstName": "Gulle", |
472 | 472 | "lastName": "Guardian", |
473 | 473 | "phoneNumber": "777-777777", |
|
480 | 480 | }, |
481 | 481 | ], |
482 | 482 | "guardian": { |
483 | | - "email": "mperez@cox.com", |
| 483 | + "email": "michellewalker@example.net", |
484 | 484 | "firstName": "Gulle", |
485 | 485 | "languagesSpokenAtHome": { |
486 | 486 | "edges": [ |
|
570 | 570 | "data": { |
571 | 571 | "updateChild": { |
572 | 572 | "child": { |
573 | | - "birthdate": "2020-09-05", |
574 | | - "firstName": "Katherine", |
575 | | - "lastName": "Wells", |
576 | | - "postalCode": "15910", |
| 573 | + "birthdate": "2020-06-10", |
| 574 | + "firstName": "Brandon", |
| 575 | + "lastName": "Adams", |
| 576 | + "postalCode": "27011", |
577 | 577 | } |
578 | 578 | } |
579 | 579 | } |
|
0 commit comments