Skip to content

Commit 9c3a64f

Browse files
committed
fix(events): Update EventBusName in test event files
1 parent 0db43fd commit 9c3a64f

10 files changed

+10
-10
lines changed

unicorn_approvals/tests/events/eventbridge/contract_status_changed_event_contract_1_approved.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "ContractStatusChanged",
44
"Source": "unicorn-contracts",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{ \"contract_updated_on\": \"10/08/2022 19:56:30\", \"contract_id\": \"f2bedc80-3dc8-4544-9140-9b606d71a6ee\", \"property_id\": \"usa/anytown/main-street/111\", \"contract_status\": \"APPROVED\" }"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/contract_status_changed_event_contract_1_draft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "ContractStatusChanged",
44
"Source": "unicorn-contracts",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{ \"contract_updated_on\": \"10/08/2022 19:56:30\", \"contract_id\": \"f2bedc80-3dc8-4544-9140-9b606d71a6ee\", \"property_id\": \"usa/anytown/main-street/111\", \"contract_status\": \"DRAFT\" }"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/contract_status_changed_event_contract_2_approved.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "ContractStatusChanged",
44
"Source": "unicorn-contracts",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{ \"contract_updated_on\": \"10/08/2022 19:56:30\", \"contract_id\": \"9183453b-d284-4466-a2d9-f00b1d569ad7\", \"property_id\": \"usa/anytown/main-street/222\", \"contract_status\": \"APPROVED\" }"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/contract_status_changed_event_contract_2_draft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "ContractStatusChanged",
44
"Source": "unicorn-contracts",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{ \"contract_updated_on\": \"10/08/2022 19:56:30\", \"contract_id\": \"9183453b-d284-4466-a2d9-f00b1d569ad7\", \"property_id\": \"usa/anytown/main-street/222\", \"contract_status\": \"DRAFT\" }"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/publication_approval_requested_event_all_good.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "PublicationApprovalRequested",
44
"Source": "unicorn-web",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{\"property_id\":\"usa/anytown/main-street/222\",\"address\":{\"country\":\"USA\",\"city\":\"Anytown\",\"street\":\"Main Street\",\"number\":222},\"description\":\"This classic Anytown estate comes with a covetable lake view. The romantic and comfortable backyard is the perfect setting for unicorn get-togethers. The open concept Main Stable is fully equipped with all the desired amenities. Second floor features 6 straw bales including large Rainbow Suite with private training pool terrace and Jr Sparkles Suite.\",\"contract\":\"sale\",\"listprice\":200,\"currency\":\"SPL\",\"images\":[\"property_images/prop1_exterior1.jpg\",\"property_images/prop1_interior1.jpg\",\"property_images/prop1_interior2.jpg\",\"property_images/prop1_interior3.jpg\"]}"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/publication_approval_requested_event_inappropriate_description.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "PublicationApprovalRequested",
44
"Source": "unicorn-web",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{\"property_id\":\"usa/anytown/main-street/111\",\"address\":{\"country\":\"USA\",\"city\":\"Anytown\",\"street\":\"Main Street\",\"number\":111},\"description\":\"This is a property for goblins. The property has the worst quality and is atrocious when it comes to design. The property is not clean whatsoever, and will make any property owner have buyers' remorse as soon the property is bought. Keep away from this property as much as possible!\",\"contract\":\"sale\",\"listprice\":200,\"currency\":\"SPL\",\"images\":[\"property_images/prop1_exterior1.jpg\",\"property_images/prop1_interior1.jpg\",\"property_images/prop1_interior2.jpg\",\"property_images/prop1_interior3.jpg\"]}"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/publication_approval_requested_event_inappropriate_images.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "PublicationApprovalRequested",
44
"Source": "unicorn-web",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{\"property_id\":\"usa/anytown/main-street/111\",\"address\":{\"country\":\"USA\",\"city\":\"Anytown\",\"street\":\"Main Street\",\"number\":111},\"description\":\"This classic Anytown estate comes with a covetable lake view. The romantic and comfortable backyard is the perfect setting for unicorn get-togethers. The open concept Main Stable is fully equipped with all the desired amenities. Second floor features 6 straw bales including large Rainbow Suite with private training pool terrace and Jr Sparkles Suite.\",\"contract\":\"sale\",\"listprice\":200,\"currency\":\"SPL\",\"images\":[\"property_images/prop1_exterior1.jpg\",\"property_images/prop1_interior1.jpg\",\"property_images/prop1_interior2.jpg\",\"property_images/prop1_interior3.jpg\",\"property_images/prop1_interior4-bad.jpg\"]}"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/publication_approval_requested_event_non_existing_contract.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "PublicationApprovalRequested",
44
"Source": "unicorn-web",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{\"property_id\":\"usa/anytown/main-street/333\",\"address\":{\"country\":\"USA\",\"city\":\"Anytown\",\"street\":\"Main Street\",\"number\":333},\"description\":\"This classic Anytown estate comes with a covetable lake view. The romantic and comfortable backyard is the perfect setting for unicorn get-togethers. The open concept Main Stable is fully equipped with all the desired amenities. Second floor features 6 straw bales including large Rainbow Suite with private training pool terrace and Jr Sparkles Suite.\",\"contract\":\"sale\",\"listprice\":200,\"currency\":\"SPL\",\"images\":[\"property_images/prop1_exterior1.jpg\",\"property_images/prop1_interior1.jpg\",\"property_images/prop1_interior2.jpg\",\"property_images/prop1_interior3.jpg\"]}"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/publication_approval_requested_event_pause_workflow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"DetailType": "PublicationApprovalRequested",
44
"Source": "unicorn-web",
5-
"EventBusName": "UnicornApprovalsBus-local",
5+
"EventBusName": "unicorn-approvals-eventbus-local",
66
"Detail": "{\"property_id\":\"usa/anytown/main-street/111\",\"address\":{\"country\":\"USA\",\"city\":\"Anytown\",\"street\":\"Main Street\",\"number\":111},\"description\":\"This classic Anytown estate comes with a covetable lake view. The romantic and comfortable backyard is the perfect setting for unicorn get-togethers. The open concept Main Stable is fully equipped with all the desired amenities. Second floor features 6 straw bales including large Rainbow Suite with private training pool terrace and Jr Sparkles Suite.\",\"contract\":\"sale\",\"listprice\":200,\"currency\":\"SPL\",\"images\":[\"property_images/prop1_exterior1.jpg\",\"property_images/prop1_interior1.jpg\",\"property_images/prop1_interior2.jpg\",\"property_images/prop1_interior3.jpg\"]}"
77
}
88
]

unicorn_approvals/tests/events/eventbridge/put_event_property_approval_requested.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"Source": "unicorn-web",
44
"Detail": "{ \"property_id\": \"usa/anytown/main-street/111\", \"country\": \"USA\", \"city\": \"Anytown\", \"street\": \"Main Street\", \"number\": 111, \"description\": \"This classic Anytown estate comes with a covetable lake view. The romantic and comfortable backyard is the perfect setting for unicorn get-togethers. The open concept Main Stable is fully equipped with all the desired amenities. Second floor features 6 straw bales including large Rainbow Suite with private training pool terrace and Jr Sparkles Suite.\", \"contract\": \"sale\", \"listprice\": 200, \"currency\": \"SPL\", \"images\": [ \"prop1_exterior1.jpg\", \"prop1_interior1.jpg\", \"prop1_interior2.jpg\", \"prop1_interior3.jpg\", \"prop1_interior4-bad.jpg\" ] }",
55
"DetailType": "PublicationApprovalRequested",
6-
"EventBusName": "UnicornApprovalsBus-local"
6+
"EventBusName": "unicorn-approvals-eventbus-local"
77
}
88
]

0 commit comments

Comments
 (0)