Skip to content
Snippets Groups Projects
Commit 321c8fd9 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4391 OZG-4417 rename field

parent fed0f774
Branches
Tags
No related merge requests found
......@@ -64,7 +64,7 @@ class VorgangWithEingangProzessorTest {
private UserManagerUrlProvider userManagerUrlProvider;
@Mock
private FeatureToggleProperties featureToggle;
private FeatureToggleProperties featureToggleProperties;
@Mock
private VorgangProperties vorgangProperties;
......@@ -383,14 +383,14 @@ class VorgangWithEingangProzessorTest {
@BeforeEach
void setUp() {
when(featureToggle.isCreateBescheid()).thenReturn(true);
when(featureToggleProperties.isCreateBescheid()).thenReturn(true);
}
@Test
void shouldCallFeatureToggleProperties() {
callProcessor(VorgangWithEingangTestFactory.create());
verify(featureToggle).isCreateBescheid();
verify(featureToggleProperties).isCreateBescheid();
}
@Test
......@@ -407,7 +407,7 @@ class VorgangWithEingangProzessorTest {
@BeforeEach
void setUp() {
when(featureToggle.isCreateBescheid()).thenReturn(false);
when(featureToggleProperties.isCreateBescheid()).thenReturn(false);
}
@Test
......@@ -425,7 +425,7 @@ class VorgangWithEingangProzessorTest {
@BeforeEach
void setUp() {
when(featureToggle.isCreateBescheid()).thenReturn(true);
when(featureToggleProperties.isCreateBescheid()).thenReturn(true);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment