AnsweredAssumed Answered

Junit shows me old result

Question asked by tomi87 on Mar 1, 2013
Latest reply on Mar 1, 2013 by frederikheremans1
Hello,
I don't know why my Junit shows me the whole tome the same error message. I removed or changed the most stuff from my test (with the mistake), but Junit shows me still the old error message.
I'm using in my code:

   

      TaskService taskService = activitiRule.getTaskService();
      Task task = taskService.createTaskQuery().singleResult();
      FormService formService = activitiRule.getFormService();

List<HistoricDetail> historyVariables = activitiRule.getHistoryService()
                   .createHistoricDetailQuery()
                   .variableUpdates()
                   .orderByVariableName()
                   .asc()
                   .list();
         
            assertNotNull(historyVariables);

            assertEquals(2, historyVariables.size());
            HistoricVariableUpdate abc= ((HistoricVariableUpdate) historyVariables.get(1));

Outcomes