Browse Source

fix tests

tags/v0.12.2
Jonathan Cobb 4 years ago
parent
commit
e8ab421e41
1 changed files with 4 additions and 4 deletions
  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 View File

@@ -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…
Cancel
Save