PAN-64 Fixed bug in tests that was failing the 1st Travis build.

This commit is contained in:
BrittanyBi
2019-04-15 20:49:56 -06:00
parent 41a78babd9
commit 6ab0470fca
@@ -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);
} }