Skip to content

Commit 287202d

Browse files
committed
Update snapshots
1 parent 848a692 commit 287202d

9 files changed

Lines changed: 366 additions & 354 deletions

File tree

children/tests/snapshots/snap_test_api.py

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@
5757
snapshots["test_child_query 1"] = {
5858
"data": {
5959
"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",
6464
"relationships": {
6565
"edges": [
6666
{
6767
"node": {
6868
"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",
7373
},
74-
"type": "OTHER_GUARDIAN",
74+
"type": "ADVOCATE",
7575
}
7676
}
7777
]
@@ -83,21 +83,21 @@
8383
snapshots["test_child_query_not_own_child_project_user 1"] = {
8484
"data": {
8585
"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",
9090
"relationships": {
9191
"edges": [
9292
{
9393
"node": {
9494
"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",
9999
},
100-
"type": "OTHER_RELATION",
100+
"type": "PARENT",
101101
}
102102
}
103103
]
@@ -156,21 +156,21 @@
156156
"edges": [
157157
{
158158
"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",
163163
"relationships": {
164164
"edges": [
165165
{
166166
"node": {
167167
"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",
172172
},
173-
"type": "OTHER_GUARDIAN",
173+
"type": "ADVOCATE",
174174
}
175175
}
176176
]
@@ -267,21 +267,21 @@
267267
"edges": [
268268
{
269269
"node": {
270-
"birthdate": "2020-04-06",
270+
"birthdate": "2020-05-21",
271271
"firstName": "Same project",
272272
"lastName": "Should be returned 1/1",
273-
"postalCode": "57776",
273+
"postalCode": "73557",
274274
"relationships": {
275275
"edges": [
276276
{
277277
"node": {
278278
"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",
283283
},
284-
"type": "ADVOCATE",
284+
"type": "PARENT",
285285
}
286286
}
287287
]
@@ -299,21 +299,21 @@
299299
"edges": [
300300
{
301301
"node": {
302-
"birthdate": "2020-08-29",
302+
"birthdate": "2020-11-15",
303303
"firstName": "Own child same project",
304304
"lastName": "Should be returned 1/3",
305-
"postalCode": "38034",
305+
"postalCode": "50649",
306306
"relationships": {
307307
"edges": [
308308
{
309309
"node": {
310310
"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",
315315
},
316-
"type": "OTHER_GUARDIAN",
316+
"type": "ADVOCATE",
317317
}
318318
}
319319
]
@@ -322,19 +322,19 @@
322322
},
323323
{
324324
"node": {
325-
"birthdate": "2020-08-09",
325+
"birthdate": "2020-06-08",
326326
"firstName": "Own child another project",
327327
"lastName": "Should be returned 2/3",
328-
"postalCode": "27011",
328+
"postalCode": "80346",
329329
"relationships": {
330330
"edges": [
331331
{
332332
"node": {
333333
"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",
338338
},
339339
"type": "ADVOCATE",
340340
}
@@ -345,21 +345,21 @@
345345
},
346346
{
347347
"node": {
348-
"birthdate": "2020-07-03",
348+
"birthdate": "2020-08-09",
349349
"firstName": "Not own child same project",
350350
"lastName": "Should be returned 3/3",
351-
"postalCode": "15910",
351+
"postalCode": "27011",
352352
"relationships": {
353353
"edges": [
354354
{
355355
"node": {
356356
"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",
361361
},
362-
"type": "OTHER_GUARDIAN",
362+
"type": "ADVOCATE",
363363
}
364364
}
365365
]
@@ -390,7 +390,7 @@
390390
"node": {
391391
"createdAt": "2020-12-12T00:00:00+00:00",
392392
"occurrences": {
393-
"edges": [{"node": {"remainingCapacity": 0}}]
393+
"edges": [{"node": {"remainingCapacity": 46}}]
394394
},
395395
}
396396
}
@@ -420,8 +420,8 @@
420420
"name": "enrolled occurrence in the past",
421421
"occurrences": {
422422
"edges": [
423-
{"node": {"remainingCapacity": 23}},
424-
{"node": {"remainingCapacity": 24}},
423+
{"node": {"remainingCapacity": 12}},
424+
{"node": {"remainingCapacity": 13}},
425425
]
426426
},
427427
}
@@ -446,7 +446,7 @@
446446
{
447447
"node": {
448448
"guardian": {
449-
"email": "mperez@cox.com",
449+
"email": "michellewalker@example.net",
450450
"firstName": "Gulle",
451451
"lastName": "Guardian",
452452
"phoneNumber": "777-777777",
@@ -467,7 +467,7 @@
467467
{
468468
"node": {
469469
"guardian": {
470-
"email": "mperez@cox.com",
470+
"email": "michellewalker@example.net",
471471
"firstName": "Gulle",
472472
"lastName": "Guardian",
473473
"phoneNumber": "777-777777",
@@ -480,7 +480,7 @@
480480
},
481481
],
482482
"guardian": {
483-
"email": "mperez@cox.com",
483+
"email": "michellewalker@example.net",
484484
"firstName": "Gulle",
485485
"languagesSpokenAtHome": {
486486
"edges": [
@@ -570,10 +570,10 @@
570570
"data": {
571571
"updateChild": {
572572
"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",
577577
}
578578
}
579579
}

children/tests/snapshots/snap_test_notifications.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@
77
snapshots = Snapshot()
88

99
snapshots["test_signup_notification 1"] = [
10-
"""kukkuu@example.com|['mperez@cox.com']|SIGNUP-notifikaation aihe|
10+
"""kukkuu@example.com|['michellewalker@example.net']|SIGNUP-notifikaation aihe|
1111
SIGNUP-notifikaation sisältö tekstimuodossa.
1212
Lapset: [<Child: Matti Mainio (2020-01-01)>, <Child: Jussi Juonio (2020-02-02)>]
13-
Huoltaja: Gulle Guardian (mperez@cox.com)"""
13+
Huoltaja: Gulle Guardian (michellewalker@example.net)"""
1414
]
1515

1616
snapshots["test_signup_notification_language[EN] 1"] = [
17-
"""kukkuu@example.com|['mperez@cox.com']|SIGNUP notification subject|
17+
"""kukkuu@example.com|['michellewalker@example.net']|SIGNUP notification subject|
1818
SIGNUP notification body text.
1919
Children: [<Child: Matti Mainio (2020-01-01)>, <Child: Jussi Juonio (2020-02-02)>]
20-
Guardian: Gulle Guardian (mperez@cox.com)"""
20+
Guardian: Gulle Guardian (michellewalker@example.net)"""
2121
]
2222

2323
snapshots["test_signup_notification_language[FI] 1"] = [
24-
"""kukkuu@example.com|['mperez@cox.com']|SIGNUP-notifikaation aihe|
24+
"""kukkuu@example.com|['michellewalker@example.net']|SIGNUP-notifikaation aihe|
2525
SIGNUP-notifikaation sisältö tekstimuodossa.
2626
Lapset: [<Child: Matti Mainio (2020-01-01)>, <Child: Jussi Juonio (2020-02-02)>]
27-
Huoltaja: Gulle Guardian (mperez@cox.com)"""
27+
Huoltaja: Gulle Guardian (michellewalker@example.net)"""
2828
]
2929

3030
snapshots["test_signup_notification_language[SV] 1"] = [
31-
"""kukkuu@example.com|['mperez@cox.com']|SIGNUP-notifikaation aihe|
31+
"""kukkuu@example.com|['michellewalker@example.net']|SIGNUP-notifikaation aihe|
3232
SIGNUP-notifikaation sisältö tekstimuodossa.
3333
Lapset: [<Child: Matti Mainio (2020-01-01)>, <Child: Jussi Juonio (2020-02-02)>]
34-
Huoltaja: Gulle Guardian (mperez@cox.com)"""
34+
Huoltaja: Gulle Guardian (michellewalker@example.net)"""
3535
]

0 commit comments

Comments
 (0)