From 35b1972b90a252cd3b163c6370fbd4f4a1b5bff7 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 14 Mar 2010 20:51:15 +0000 Subject: [PATCH] test unicode comments --- ext/comment/test.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/comment/test.php b/ext/comment/test.php index b9c11330..1150c8b6 100644 --- a/ext/comment/test.php +++ b/ext/comment/test.php @@ -50,6 +50,12 @@ class CommentListTest extends ShimmieWebTestCase { $this->click("Post Comment"); $this->assert_text("Comment too repetitive~"); + # test UTF8 + $this->get_page("post/view/$image_id"); + $this->set_field('comment', "Test Comment むちむち"); + $this->click("Post Comment"); + $this->assert_text("むちむち"); + # test that search by comment metadata works $this->get_page("post/list/commented_by=test/1"); $this->assert_title("Image $image_id: pbx");