瀏覽代碼

fix tests

tags/v0.12.2
Jonathan Cobb 4 年之前
父節點
當前提交
e8ab421e41
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      bubble-server/src/test/resources/models/include/referral_signup.json

+ 4
- 4
bubble-server/src/test/resources/models/include/referral_signup.json 查看文件

@@ -34,16 +34,16 @@

{
"before": "sleep 5s", // wait for account objects to be created
"comment": "as root, check email inbox for verification message",
"comment": "as root, check email inbox for welcome message",
"request": {
"session": "<<rootSessionName>>",
"uri": "debug/inbox/email/<<referredName>>@example.com?type=request&action=verify&target=account"
"uri": "debug/inbox/email/<<referredName>>@example.com?type=notice&action=welcome&target=account"
},
"response": {
"store": "emailInbox",
"check": [
{"condition": "'{{json.[0].ctx.message.messageType}}' == 'request'"},
{"condition": "'{{json.[0].ctx.message.action}}' == 'verify'"},
{"condition": "'{{json.[0].ctx.message.messageType}}' == 'notice'"},
{"condition": "'{{json.[0].ctx.message.action}}' == 'welcome'"},
{"condition": "'{{json.[0].ctx.message.target}}' == 'account'"}
]
}


Loading…
取消
儲存