diff --git a/build.gradle b/build.gradle index 73a998f..850b333 100644 --- a/build.gradle +++ b/build.gradle @@ -9,9 +9,9 @@ apply plugin: 'io.codearte.nexus-staging' ext { // Minimum required Testerra version - testerraCompileVersion = '1.9' + testerraCompileVersion = '1.12' // Unit tests use the latest Testerra version - testerraTestVersion = '[1.9,2-SNAPSHOT)' + testerraTestVersion = '[1.12,2-SNAPSHOT)' // Default version moduleVersion = '1-SNAPSHOT' diff --git a/src/main/java/eu/tsystems/mms/tic/testerra/plugins/azuredevops/synchronize/AzureDevOpsResultSynchronizer.java b/src/main/java/eu/tsystems/mms/tic/testerra/plugins/azuredevops/synchronize/AzureDevOpsResultSynchronizer.java index e1a223b..7f1b1e3 100644 --- a/src/main/java/eu/tsystems/mms/tic/testerra/plugins/azuredevops/synchronize/AzureDevOpsResultSynchronizer.java +++ b/src/main/java/eu/tsystems/mms/tic/testerra/plugins/azuredevops/synchronize/AzureDevOpsResultSynchronizer.java @@ -175,7 +175,7 @@ private synchronized void syncTestresult(TestStatusUpdateEvent event, Outcome ou } result.setErrorMessage(errorMessage); result.setFailureType(this.getFailureType(event).toString()); - event.getMethodContext().getFailsAnnotation().get().description(); +// event.getMethodContext().getFailsAnnotation().get().description(); final String stackTrace = ExceptionUtils.getStackTrace(throwable); result.setStackTrace(stackTrace); }); @@ -234,7 +234,7 @@ private Optional getAnnotation(TestStatusUpdateEvent event) { if (methodFromEvent.isPresent() && methodFromEvent.get().isAnnotationPresent(AzureTest.class)) { return Optional.of(methodFromEvent.get().getAnnotation(AzureTest.class)); } else { - log().info("No annoation found for sync results with Azure DevOps"); + log().info("No annotation found for sync results with Azure DevOps"); return Optional.empty(); } }