Changeset 10186
- Timestamp:
- 07/09/08 17:19:05 (1 year ago)
- Files:
-
- branches/1.0/test/unit/helper/UrlHelperTest.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/test/unit/helper/UrlHelperTest.php
r8839 r10186 43 43 } 44 44 45 $t = new lime_test(3 2, new lime_output_color());45 $t = new lime_test(33, new lime_output_color()); 46 46 47 47 $context = sfContext::getInstance(); … … 120 120 $t->is(mail_to('webmaster@example.com'),'<a href="mailto:webmaster@example.com">webmaster@example.com</a>','mail_to with only given email works'); 121 121 $t->is(mail_to('webmaster@example.com', 'send us an email'),'<a href="mailto:webmaster@example.com">send us an email</a>','mail_to with given email and title works'); 122 $t->isnt(mail_to('webmaster@example.com', 'encoded', array('encode' => true)),'<a href="mailto:webmaster@example.com">encoded</a>','mail_to with encoding works'); 122 123 123 124 $t->is(mail_to('webmaster@example.com', '', array(), array('subject' => 'test subject', 'body' => 'test body')),'<a href="mailto:webmaster@example.com?subject=test+subject&body=test+body">webmaster@example.com</a>', 'mail_to() works with given default values in array form');

