summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorthoemy <thoemy@gmx.net>2016-05-12 14:30:44 +0200
committerChristopher Speller <crspeller@gmail.com>2016-05-12 08:30:44 -0400
commit3f0325fd223dcb3a6eec92f772df1e7541ab0b2b (patch)
treec01866274ff7e4ce665395373d4227678b44759c /tests
parent4b260b761a78ea1a0dd6b02df7d25e93b496b6ff (diff)
downloadchat-3f0325fd223dcb3a6eec92f772df1e7541ab0b2b.tar.gz
chat-3f0325fd223dcb3a6eec92f772df1e7541ab0b2b.tar.bz2
chat-3f0325fd223dcb3a6eec92f772df1e7541ab0b2b.zip
Fix parsing attachment field links into markdown (#2958) (#2959)
Field contents are stored in 'value' not 'text'.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-slack-attachments.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-slack-attachments.json b/tests/test-slack-attachments.json
index 1c499b4ca..3787eb143 100644
--- a/tests/test-slack-attachments.json
+++ b/tests/test-slack-attachments.json
@@ -39,6 +39,11 @@
"short": true,
"title": "Short 2",
"value": "Another one"
+ },
+ {
+ "short": true,
+ "title": "Field with link",
+ "value": "<http://example.com|Link>"
}
],
"mrkdwn_in": [