@@ -94,6 +94,10 @@ def test_http_registration_with_fields_add_and_update
94
94
do_registration_test ( :http , "test-webhooks" , fields : "field1, field2" )
95
95
end
96
96
97
+ def test_http_registration_with_fields_array_add_and_update
98
+ do_registration_test ( :http , "test-webhooks" , fields : [ "field1" , "field2" ] )
99
+ end
100
+
97
101
def test_raises_on_http_registration_check_error
98
102
do_registration_check_error_test ( :http , "test-webhooks" )
99
103
end
@@ -106,6 +110,10 @@ def test_pubsub_registration_with_fields_add_and_update
106
110
do_registration_test ( :pub_sub , "pubsub://my-project-id:my-topic-id" , fields : "field1, field2" )
107
111
end
108
112
113
+ def test_pubsub_registration_with_fields_array_add_and_update
114
+ do_registration_test ( :pub_sub , "pubsub://my-project-id:my-topic-id" , fields : [ "field1" , "field2" ] )
115
+ end
116
+
109
117
def test_raises_on_pubsub_registration_check_error
110
118
do_registration_check_error_test ( :pub_sub , "pubsub://my-project-id:my-topic-id" )
111
119
end
@@ -118,6 +126,10 @@ def test_eventbridge_registration_with_fields_add_and_update
118
126
do_registration_test ( :event_bridge , "test-webhooks" , fields : "field1, field2" )
119
127
end
120
128
129
+ def test_eventbridge_registration_with_fields_array_add_and_update
130
+ do_registration_test ( :event_bridge , "test-webhooks" , fields : [ "field1" , "field2" ] )
131
+ end
132
+
121
133
def test_raises_on_eventbridge_registration_check_error
122
134
do_registration_check_error_test ( :event_bridge , "test-webhooks" )
123
135
end
0 commit comments