test unicode comments
This commit is contained in:
		
							parent
							
								
									f93b2ad65b
								
							
						
					
					
						commit
						3682f84f04
					
				@ -50,6 +50,12 @@ class CommentListTest extends ShimmieWebTestCase {
 | 
				
			|||||||
		$this->click("Post Comment");
 | 
							$this->click("Post Comment");
 | 
				
			||||||
		$this->assert_text("Comment too repetitive~");
 | 
							$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
 | 
							# test that search by comment metadata works
 | 
				
			||||||
		$this->get_page("post/list/commented_by=test/1");
 | 
							$this->get_page("post/list/commented_by=test/1");
 | 
				
			||||||
		$this->assert_title("Image $image_id: pbx");
 | 
							$this->assert_title("Image $image_id: pbx");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user