diff --git a/src/test/java/uk/gov/ons/ctp/response/casesvc/state/StateTransitionManagerUnitTest.java b/src/test/java/uk/gov/ons/ctp/response/casesvc/state/StateTransitionManagerUnitTest.java index ff9e8d0e..ad43fed6 100644 --- a/src/test/java/uk/gov/ons/ctp/response/casesvc/state/StateTransitionManagerUnitTest.java +++ b/src/test/java/uk/gov/ons/ctp/response/casesvc/state/StateTransitionManagerUnitTest.java @@ -584,12 +584,12 @@ public void givenUnknownEligibilityWhenEqLaunchThenComplete() throws CTPExceptio @Test public void testCaseGroupTransitionFromCompleteToNotStarted() throws CTPException { // Given - CaseGroupStatus notStarted = CaseGroupStatus.COMPLETE; + CaseGroupStatus caseGroupStatus = CaseGroupStatus.COMPLETE; // When CaseGroupStatus destinationState = caseGroupStateMachine.transition( - notStarted, CategoryDTO.CategoryName.COMPLETED_TO_NOTSTARTED); + caseGroupStatus, CategoryDTO.CategoryName.COMPLETED_TO_NOTSTARTED); // Then assertEquals(CaseGroupStatus.NOTSTARTED, destinationState);