fix(inboxes): restore whatsapp qr flow and tighten twilio webhook coverage

This commit is contained in:
Sojan Jose
2026-02-13 18:08:37 -08:00
parent 537ea5a2a7
commit c40a541ed6
3 changed files with 16 additions and 19 deletions
@@ -55,6 +55,8 @@ RSpec.describe '/api/v1/accounts/{account.id}/channels/twilio_channel', type: :r
end
it 'creates inbox with blank phone number and returns inbox object' do
expect(Twilio::WebhookSetupService).to receive(:new).and_return(twilio_webhook_setup_service)
expect(twilio_webhook_setup_service).to receive(:perform)
params = {
twilio_channel: {
account_sid: 'sid-1',