PAN-64 Fixed bug in tests that was failing the 1st Travis build.
This commit is contained in:
@@ -204,9 +204,9 @@ public class ParserServiceTest {
|
|||||||
final String expected = "0: \n";
|
final String expected = "0: \n";
|
||||||
final String actual;
|
final String actual;
|
||||||
|
|
||||||
when(parserService.parseRawInput("")).thenReturn(new Node("", null));
|
final ParserService spy = spy(new ParserService());
|
||||||
|
when(spy.parseRawInput("")).thenReturn(new Node("", null));
|
||||||
actual = parserService.parseRawInput("").toString();
|
actual = spy.parseRawInput("").toString();
|
||||||
|
|
||||||
assertEquals(expected, actual);
|
assertEquals(expected, actual);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user