~singpolyma/sgx-jmp

c2b986f8f3c332ccc369fffca9b621d980978d0e — Stephen Paul Weber 1 year, 11 months ago c4fc3de
Fix test broken by hotfix
2 files changed, 7 insertions(+), 2 deletions(-)

M test/test_admin_command.rb
M test/test_helper.rb
M test/test_admin_command.rb => test/test_admin_command.rb +2 -1
@@ 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: "")

M test/test_helper.rb => test/test_helper.rb +5 -1
@@ 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,