Change summary
test/test_admin_command.rb | 3 ++-
test/test_helper.rb | 6 +++++-
2 files changed, 7 insertions(+), 2 deletions(-)
Detailed changes
@@ -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: "")
@@ -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,