vdurmont/emoji-java

JUnit tests pass in Eclipse but fail in Maven build it is showing org.junit.ComparisonFailure

susil1k opened this issue · 0 comments

Here is my test case :  

@Test
  public void testRemoveEmoji() throws Exception {  
    Items items = getSampleItems("/json/ItemObjectWithEmojiContent.json");
    List<Item> itemList = items.getItemsList();
        for(Item item : itemList) {
        this.starcImportProcessor.removeEmojis(item);
        assertNotNull(item);
        assertEquals("(Open -> In Progress -> Open -> Closed)", item.getDescription());
        assertNotNull(item.getItemComments());
        for(ItemComment itemComments : item.getItemComments()) {        
            assertEquals("Test comment", itemComments.getComment());
            
        }
        
    }