Skip to content

Commit 5752a18

Browse files
Show lenient
1 parent add6a37 commit 5752a18

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

service/src/test/java/uk/nhs/adaptors/gp2gp/common/task/TaskErrorHandlerTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ class TaskErrorHandlerTest {
4949
@InjectMocks
5050
private TaskErrorHandler taskErrorHandler;
5151

52-
private boolean skipSetup;
5352

5453
@BeforeEach
5554
void setUp() {
56-
if (!skipSetup) {
57-
when(taskDefinition.getTaskType()).thenReturn(GET_GPC_STRUCTURED);
58-
}
55+
when(taskDefinition.getTaskType()).thenReturn(GET_GPC_STRUCTURED);
5956
}
6057

6158
@Test

0 commit comments

Comments
 (0)