diff --git a/src/test/java/com/sonyericsson/jenkins/plugins/bfa/BuildFailureScannerHudsonTest.java b/src/test/java/com/sonyericsson/jenkins/plugins/bfa/BuildFailureScannerHudsonTest.java index f9f2bd52..c24fc9e9 100644 --- a/src/test/java/com/sonyericsson/jenkins/plugins/bfa/BuildFailureScannerHudsonTest.java +++ b/src/test/java/com/sonyericsson/jenkins/plugins/bfa/BuildFailureScannerHudsonTest.java @@ -133,7 +133,7 @@ public void testOneIndicationFound() throws Exception { assertNotNull(scanLogAction); assertNotNull(scanLogAction.getStartTime()); assertNotNull(scanLogAction.getEndTime()); - assertNull(scanLogAction.getException()); + assertNull(scanLogAction.getExceptionMessage()); FailureCauseBuildAction action = build.getAction(FailureCauseBuildAction.class); assertNotNull(action); @@ -180,7 +180,7 @@ public void testExceptionDuringParsing() throws Exception { assertNotNull(scanLogAction); assertNotNull(scanLogAction.getStartTime()); assertNotNull(scanLogAction.getEndTime()); - assertNotNull(scanLogAction.getException()); + assertNotNull(scanLogAction.getExceptionMessage()); FailureCauseBuildAction action = build.getAction(FailureCauseBuildAction.class); assertNotNull(action);