Commit e725b1e7 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_wechat: Fix tests and some scripts

Add a mock for absolute_url as the test requires a valid url
parent 2b88f935
......@@ -113,7 +113,6 @@ class TestSlapOSWechatInterfaceWorkflow(SlapOSTestCaseMixinWithAbort):
# Event state
self.assertEqual(event.getValidationState(), "acknowledged")
expected_url = "http://example.org/#wechat_payment?trade_no=%s&price=1&payment_url=" % (payment_transaction_id)
# Event message state
event_message_list = event.contentValues(portal_type="Wechat Event Message")
self.assertEqual(len(event_message_list), 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment