From c2b986f8f3c332ccc369fffca9b621d980978d0e Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 23 May 2022 08:56:55 -0500 Subject: [PATCH] Fix test broken by hotfix --- test/test_admin_command.rb | 3 ++- test/test_helper.rb | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/test/test_admin_command.rb b/test/test_admin_command.rb index 4866f886a798faa5c05ebf67baff4b576c3d8ef0..1b31f3dc530cfe91f1079e0335eb683ac16d76ad 100644 --- a/test/test_admin_command.rb +++ b/test/test_admin_command.rb @@ -98,9 +98,10 @@ class AdminCommandTest < Minitest::Test "https://dashboard.bandwidth.com/v1.0/accounts/moveto/moveTns" ).with( body: { - SiteId: "movetosite", CustomerOrderId: "test", SourceAccountId: "test_bw_account", + SiteId: "movetosite", + SipPeerId: "movetopeer", TelephoneNumbers: { TelephoneNumber: "5566667777" } }.to_xml(indent: 0, root: "MoveTnsOrder") ).to_return(status: 200, body: "") diff --git a/test/test_helper.rb b/test/test_helper.rb index d721f845c5527a151d4095dbac57ee326e46e5da..c4f2b69a604cb6f147d17f660dd65c7fe2eca17f 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -99,7 +99,11 @@ CONFIG = { credit_card_url: ->(*) { "http://creditcard.example.com" }, electrum_notify_url: ->(*) { "http://notify.example.com" }, keep_area_codes: ["556"], - keep_area_codes_in: { account: "moveto", site: "movetosite" }, + keep_area_codes_in: { + account: "moveto", + site_id: "movetosite", + sip_peer_id: "movetopeer" + }, upstream_domain: "example.net", approved_domains: { "approved.example.com": nil,