Skip to content

Commit 2f39d56

Browse files
committed
update tfv
1 parent 6fecb58 commit 2f39d56

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

spec/unit/api/toll_free_verification_api_spec.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,18 @@
150150
_data, status_code = @tfv_api_instance.delete_verification_request_with_http_info(BW_ACCOUNT_ID, tf_phone_number)
151151
expect(status_code).to eq(204)
152152
end
153+
154+
it 'causes an ArgumentError for a missing account_id' do
155+
expect {
156+
@tfv_api_instance.delete_verification_request(nil, tf_phone_number)
157+
}.to raise_error(ArgumentError)
158+
end
159+
160+
it 'causes an ArgumentError for a missing phone_number' do
161+
expect {
162+
@tfv_api_instance.delete_verification_request(BW_ACCOUNT_ID, nil)
163+
}.to raise_error(ArgumentError)
164+
end
153165
end
154166

155167
# List Toll-Free Use Cases

0 commit comments

Comments
 (0)