Skip to content

Commit ca37d94

Browse files
author
Kevin Hellemun
committed
Update JSON files for testing. #40
1 parent 6fa9d87 commit ca37d94

File tree

5 files changed

+64
-58
lines changed

5 files changed

+64
-58
lines changed

tests/assets/NotficationUrlJsons/BunqMeTab.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{"NotificationUrl": {
1+
{
2+
"NotificationUrl": {
23
"target_url": "nope",
34
"category": "BUNQME_TAB",
45
"event_type": "BUNQME_TAB_CREATED",

tests/assets/NotficationUrlJsons/ChatMessageAnnouncement.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{"NotificationUrl": {
1+
{
2+
"NotificationUrl": {
23
"target_url": "nope",
34
"category": "BUNQME_TAB",
45
"event_type": "BUNQME_TAB_CREATED",

tests/assets/NotficationUrlJsons/DraftPayment.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{"NotificationUrl": {
1+
{
2+
"NotificationUrl": {
23
"target_url": "nope",
34
"category": "DRAFT_PAYMENT",
45
"event_type": "DRAFT_PAYMENT_ACCEPTED",

tests/assets/NotficationUrlJsons/RequestResponse.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{"NotificationUrl": {
1+
{
2+
"NotificationUrl": {
23
"target_url": "nope",
34
"category": "REQUEST",
45
"event_type": "REQUEST_INQUIRY_ACCEPTED",
Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,67 @@
1-
{"NotificationUrl": {
2-
"target_url": "nope",
3-
"category": "SHARE",
4-
"event_type": "SHARE_INVITE_BANK_INQUIRY_ACCEPTED",
5-
"object": {
6-
"ShareInviteBankResponse": {
7-
"id": 2,
8-
"created": "2017-07-20 02:32:32.114297",
9-
"updated": "2017-07-20 02:32:32.114297",
10-
"monetary_account_id": null,
11-
"draft_share_invite_bank_id": null,
12-
"counter_alias": {
13-
"iban": "NL59BUNQ2025104669",
14-
"is_light": false,
15-
"display_name": "Alpha Corp.",
16-
"avatar": {
17-
"uuid": "26789d97-ec34-4fe8-9a71-ca145a23ba7a",
18-
"image": [
19-
{
20-
"attachment_public_uuid": "3965b302-7a77-4813-8b00-ad3f9b84f439",
21-
"height": 1024,
22-
"width": 1024,
23-
"content_type": "image\/png"
24-
}
25-
],
26-
"anchor_uuid": null
27-
},
28-
"label_user": {
29-
"uuid": "2711664e-885e-4b5c-bf2c-581ba39061d3",
1+
{
2+
"NotificationUrl": {
3+
"target_url": "nope",
4+
"category": "SHARE",
5+
"event_type": "SHARE_INVITE_BANK_INQUIRY_ACCEPTED",
6+
"object": {
7+
"ShareInviteBankResponse": {
8+
"id": 2,
9+
"created": "2017-07-20 02:32:32.114297",
10+
"updated": "2017-07-20 02:32:32.114297",
11+
"monetary_account_id": null,
12+
"draft_share_invite_bank_id": null,
13+
"counter_alias": {
14+
"iban": "NL59BUNQ2025104669",
15+
"is_light": false,
3016
"display_name": "Alpha Corp.",
31-
"country": "NL",
3217
"avatar": {
33-
"uuid": "829fee85-ffa6-473b-ac5b-b464c7b0a3a9",
18+
"uuid": "26789d97-ec34-4fe8-9a71-ca145a23ba7a",
3419
"image": [
3520
{
36-
"attachment_public_uuid": "89347f1e-fd96-4c28-b9f5-bc9ec1f4443a",
37-
"height": 640,
38-
"width": 640,
21+
"attachment_public_uuid": "3965b302-7a77-4813-8b00-ad3f9b84f439",
22+
"height": 1024,
23+
"width": 1024,
3924
"content_type": "image\/png"
4025
}
4126
],
42-
"anchor_uuid": "2711664e-885e-4b5c-bf2c-581ba39061d3"
27+
"anchor_uuid": null
28+
},
29+
"label_user": {
30+
"uuid": "2711664e-885e-4b5c-bf2c-581ba39061d3",
31+
"display_name": "Alpha Corp.",
32+
"country": "NL",
33+
"avatar": {
34+
"uuid": "829fee85-ffa6-473b-ac5b-b464c7b0a3a9",
35+
"image": [
36+
{
37+
"attachment_public_uuid": "89347f1e-fd96-4c28-b9f5-bc9ec1f4443a",
38+
"height": 640,
39+
"width": 640,
40+
"content_type": "image\/png"
41+
}
42+
],
43+
"anchor_uuid": "2711664e-885e-4b5c-bf2c-581ba39061d3"
44+
},
45+
"public_nick_name": "Alpha Corp."
4346
},
44-
"public_nick_name": "Alpha Corp."
47+
"country": "NL"
48+
},
49+
"user_alias_cancelled": null,
50+
"description": "bunq account",
51+
"share_type": "STANDARD",
52+
"status": "PENDING",
53+
"share_detail": {
54+
"ShareDetailPayment": {
55+
"view_balance": true,
56+
"view_old_events": true,
57+
"view_new_events": true,
58+
"budget": null,
59+
"make_payments": true
60+
}
4561
},
46-
"country": "NL"
47-
},
48-
"user_alias_cancelled": null,
49-
"description": "bunq account",
50-
"share_type": "STANDARD",
51-
"status": "PENDING",
52-
"share_detail": {
53-
"ShareDetailPayment": {
54-
"view_balance": true,
55-
"view_old_events": true,
56-
"view_new_events": true,
57-
"budget": null,
58-
"make_payments": true
59-
}
60-
},
61-
"start_date": "2017-07-20 02:34:05.864029",
62-
"end_date": "2017-11-11 02:34:05.864029"
62+
"start_date": "2017-07-20 02:34:05.864029",
63+
"end_date": "2017-11-11 02:34:05.864029"
64+
}
6365
}
6466
}
65-
}}
67+
}

0 commit comments

Comments
 (0)