test/alipay/service_test.rb in alipay-0.7.1 vs test/alipay/service_test.rb in alipay-0.8.0
- old
+ new
@@ -163,19 +163,6 @@
trade_no: 'trade_no',
logistics_name: 'example.com',
transport_type: 'DIRECT'
)
end
-
- def test_mobile_security_pay_url
- assert_equal 'https://mapi.alipay.com/gateway.do?service=mobile.securitypay.pay&_input_charset=utf-8&partner=1000000000000000&seller_id=1000000000000000&payment_type=1&out_trade_no=1¬ify_url=%2Fsome_url&subject=subject&total_fee=0.01&body=test&sign_type=RSA&sign=EuHBKhLyXFBFM28s8nNM45r4gIWccPijVl8SHAmRaAC11wFNRiOfc3jEzJYJ%0A%2FADJNytARSNVSu3vXvRWhsNDHE9%2F%2BkFRckoXjjC10IApWa8bN7%2ByfHQk2w88%0AkDEVfv9Z%2F0t%2B8yHZD0Po4OBBHoEC9d%2FodPZYBElfcQvJ5vilQsc%3D%0A', Alipay::Service.mobile_security_pay_url({
- out_trade_no: '1',
- notify_url: '/some_url',
- subject: 'subject',
- total_fee: '0.01',
- body: 'test'
- }, {
- sign_type: 'RSA',
- key: TEST_RSA_PRIVATE_KEY
- })
- end
end