From ff34535f02118c193cac60b6bc79a72887c6819d Mon Sep 17 00:00:00 2001 From: amihaiemil Date: Mon, 28 Aug 2017 16:55:07 +0300 Subject: [PATCH] unignored test --- .../java/com/amihaiemil/charles/github/StepsTestCase.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/amihaiemil/charles/github/StepsTestCase.java b/src/test/java/com/amihaiemil/charles/github/StepsTestCase.java index 083f6b1..243fb78 100644 --- a/src/test/java/com/amihaiemil/charles/github/StepsTestCase.java +++ b/src/test/java/com/amihaiemil/charles/github/StepsTestCase.java @@ -32,7 +32,6 @@ import javax.json.Json; -import org.junit.Ignore; import org.junit.Test; import org.mockito.Mockito; import org.slf4j.Logger; @@ -71,11 +70,10 @@ public void stepsPerformOk() throws IOException { * @throws Exception if something goes wrong. */ @Test - @Ignore public void stepsFail() throws Exception { Command com = this.mockCommand(); Logger logger = Mockito.mock(Logger.class); - Reply rep = new TextReply(com, "Error whene executig steps!"); + Reply rep = new TextReply(com, "Error when executig steps!"); SendReply sr = new SendReply( rep, Mockito.mock(Step.class) ); @@ -89,7 +87,7 @@ public void stepsFail() throws Exception { List comments = Lists.newArrayList(com.issue().comments().iterate()); assertTrue(comments.size() == 1); - assertTrue(comments.get(0).json().getString("body").startsWith("> @charlesmike mock command\n\n@amihaiemil Some steps failed when processing your command. See [logs]")); + assertTrue(comments.get(0).json().getString("body").startsWith("> @charlesmike mock command\n\nError when executig steps!")); } /**