CRM-13690 added unit test for html2text and token
authorKen West <ken.west@internode.on.net>
Tue, 5 Nov 2013 23:30:20 +0000 (10:30 +1100)
committerKen West <ken.west@internode.on.net>
Tue, 5 Nov 2013 23:30:20 +0000 (10:30 +1100)
tests/phpunit/CRM/Utils/HtmlToTextTest.php

index ecce076452f29059214be03f37571f25d738e751..681e978e6ca428b282665f5d4f019fb57fc45546 100644 (file)
@@ -17,7 +17,17 @@ mailto tags. This is also a really long long line
 Links:
 ------
 [1] http://www.example.com
-'
+',
+    '
+<p>
+A <a href="{action.do_something}">token</a>
+is not treated as a relative URL' => '
+A token [1] is not treated as a relative URL
+
+Links:
+------
+[1] {action.do_something}
+',
   );
 
   function get_info() {