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

OZG-4391 OZG-4417 rename field

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