Skip to content

Commit

Permalink
Merge pull request #422 from nyaruka/update-tests
Browse files Browse the repository at this point in the history
Update tests
  • Loading branch information
norkans7 authored May 11, 2021
2 parents 79020dd + 900fbbe commit 0c72cac
Show file tree
Hide file tree
Showing 7 changed files with 212 additions and 211 deletions.
2 changes: 1 addition & 1 deletion core/handlers/msg_created_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestMsgCreated(t *testing.T) {
Args: []interface{}{
models.AlexandriaID,
`Hi Alexandia, are you still experiencing problems with tooth?`,
`{"templating":{"template":{"uuid":"9c22b594-fcab-4b29-9bcb-ce4404894a80","name":"revive_issue"},"language":"eng","country":"US","variables":["Alexandia","tooth"],"namespace":""}}`,
`{"templating":{"template":{"uuid":"9c22b594-fcab-4b29-9bcb-ce4404894a80","name":"revive_issue"},"language":"eng","country":"US","variables":["Alexandia","tooth"],"namespace":"2d40b45c_25cd_4965_9019_f05d0124c5fa"}}`,
models.TwitterChannelID,
},
Count: 1,
Expand Down
Binary file modified mailroom_test.dump
Binary file not shown.
2 changes: 1 addition & 1 deletion web/contact/testdata/resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name": "Bob",
"status": "active",
"timezone": "America/Los_Angeles",
"created_on": "2021-04-09T14:51:56.517774Z",
"created_on": "2021-05-11T12:36:54.721431Z",
"urns": [
"tel:+16055742222?id=10001&priority=1000"
],
Expand Down
56 changes: 28 additions & 28 deletions web/po/testdata/favorites.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,88 +10,88 @@ msgstr ""
"Language-3: \n"
"Source-Flows: 9de3663f-c5c5-4c92-9f45-ecbc09abcc85\n"

#: Favorites/491f3ed1-9154-4acb-8fdd-0a37567e0574/name:0
#: Favorites/e87aeeab-8ede-4173-bc76-8f5583ea7207/name:0
msgid "All Responses"
msgstr ""

#: Favorites/34a421ac-34cb-49d8-a2a5-534f52c60851/name:0
#: Favorites/baf07ebb-8a2a-4e63-aa08-d19aa408cd45/arguments:0
#: Favorites/34a421ac-34cb-49d8-a2a5-534f52c60851/arguments:0
#: Favorites/c102acfc-8cc5-41fa-89ed-41cbfa362ba6/name:0
msgid "Blue"
msgstr ""

#: Favorites/3b400f91-db69-42b9-9fe2-24ad556b067a/name:0
#: Favorites/6e367c0c-65ab-479a-82e3-c597d8e35eef/arguments:0
#: Favorites/3b400f91-db69-42b9-9fe2-24ad556b067a/arguments:0
#: Favorites/8d2e259c-bc3c-464f-8c15-985bc736e212/name:0
msgid "Cyan"
msgstr ""

#: Favorites/7624633a-01a9-48f0-abca-957e7290df0a/text:0
#: Favorites/3e2dcf45-ffc0-4197-b5ab-25ed974ea612/text:0
msgid "Good choice, I like @results.color.category_localized too! What is your favorite beer?"
msgstr ""

#: Favorites/b0c29972-6fd4-485e-83c2-057a3f7a04da/name:0
#: Favorites/c102acfc-8cc5-41fa-89ed-41cbfa362ba6/arguments:0
#: Favorites/58284598-805a-4740-8966-dcb09e3b670a/name:0
#: Favorites/b0c29972-6fd4-485e-83c2-057a3f7a04da/arguments:0
msgid "Green"
msgstr ""

#: Favorites/9631dddf-0dd7-4310-b263-5f7cad4795e0/text:0
#: Favorites/943f85bb-50bc-40c3-8d6f-57dbe34c87f7/text:0
msgid "I don't know that color. Try again."
msgstr ""

#: Favorites/aac779a9-e2a6-4a11-9efa-9670e081a33a/text:0
#: Favorites/4cadf512-1299-468f-85e4-26af9edec193/text:0
msgid "I don't know that one, try again please."
msgstr ""

#: Favorites/ada3d96a-a1a2-41eb-aac7-febdb98a9b4c/text:0
#: Favorites/52d7a9ab-52b7-4e82-ba7f-672fb8d6ec91/text:0
msgid "Mmmmm... delicious @results.beer.category_localized. If only they made @(lower(results.color)) @results.beer.category_localized! Lastly, what is your name?"
msgstr ""

#: Favorites/a813de57-c92a-4128-804d-56e80b332142/name:0
#: Favorites/b9d718d3-b5e0-4d26-998e-2da31b24f2f9/arguments:0
#: Favorites/87b850ff-ddc5-4add-8a4f-c395c3a9ac38/name:0
#: Favorites/a813de57-c92a-4128-804d-56e80b332142/arguments:0
msgid "Mutzig"
msgstr ""

#: Favorites/8d2e259c-bc3c-464f-8c15-985bc736e212/arguments:0
#: Favorites/baf07ebb-8a2a-4e63-aa08-d19aa408cd45/arguments:0
msgid "Navy"
msgstr ""

#: Favorites/3e2dcf45-ffc0-4197-b5ab-25ed974ea612/name:0
#: Favorites/6e367c0c-65ab-479a-82e3-c597d8e35eef/name:0
msgid "No Response"
msgstr ""

#: Favorites/5563a722-9680-419c-a792-b1fa9df92e06/name:0
#: Favorites/87b850ff-ddc5-4add-8a4f-c395c3a9ac38/name:0
#: Favorites/c169352e-1944-4451-8d32-eb39c41cb3ae/name:0
#: Favorites/e0ec2076-2746-43b4-a410-c3af47d6a121/name:0
msgid "Other"
msgstr ""

#: Favorites/a03dceb1-7ac1-491d-93ef-23d3e099633b/name:0
#: Favorites/f1ca9ac8-d0aa-4758-a969-195be7330267/arguments:0
#: Favorites/a03dceb1-7ac1-491d-93ef-23d3e099633b/arguments:0
#: Favorites/b9d718d3-b5e0-4d26-998e-2da31b24f2f9/name:0
msgid "Primus"
msgstr ""

#: Favorites/3ffb6f24-2ed8-4fd5-bcc0-b2e2668672a8/name:0
#: Favorites/58284598-805a-4740-8966-dcb09e3b670a/arguments:0
#: Favorites/3ffb6f24-2ed8-4fd5-bcc0-b2e2668672a8/arguments:0
#: Favorites/5563a722-9680-419c-a792-b1fa9df92e06/name:0
msgid "Red"
msgstr ""

#: Favorites/2ba89eb6-6981-4c0d-a19d-3cf1fde52a43/name:0
#: Favorites/52d7a9ab-52b7-4e82-ba7f-672fb8d6ec91/arguments:0
#: Favorites/2ba89eb6-6981-4c0d-a19d-3cf1fde52a43/arguments:0
#: Favorites/dbc3b9d2-e6ce-4ebe-9552-8ddce482c1d1/name:0
msgid "Skol"
msgstr ""

#: Favorites/cb6fc9b4-d6e9-4ed3-8a11-3f4d19654a48/text:0
#: Favorites/e92b12c5-1817-468e-aa2f-8791fb6247e9/text:0
msgid "Sorry you can't participate right now, I'll try again later."
msgstr ""

#: Favorites/a602e75e-0814-4034-bb95-770906ddfe34/text:0
#: Favorites/491f3ed1-9154-4acb-8fdd-0a37567e0574/text:0
msgid "Thanks @results.name, we are all done!"
msgstr ""

#: Favorites/58119801-ed31-4538-888d-23779a01707f/name:0
#: Favorites/dbc3b9d2-e6ce-4ebe-9552-8ddce482c1d1/arguments:0
#: Favorites/58119801-ed31-4538-888d-23779a01707f/arguments:0
#: Favorites/f1ca9ac8-d0aa-4758-a969-195be7330267/name:0
msgid "Turbo King"
msgstr ""

#: Favorites/f4495f19-37ee-4e51-a7d5-d99ef6be147a/text:0
#: Favorites/8c2504ef-0acc-405f-9efe-d5fc2c434a93/text:0
msgid "What is your favorite color?"
msgstr ""

Loading

0 comments on commit 0c72cac

Please sign in to comment.