Skip to content
Snippets Groups Projects
Commit 9cefbb92 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-6741 rename varaible

parent 82e6b20f
No related branches found
No related tags found
1 merge request!1Ozg 6741 organisationseinheit link
......@@ -54,7 +54,7 @@ class OrganisationsEinheitRootProcessorTest {
@Nested
class TestProcess {
private final String zufiSucheUri = LoremIpsum.getInstance().getUrl() + "?searchBy={searchBy}";
private final String zufiSearchUri = LoremIpsum.getInstance().getUrl() + "?searchBy={searchBy}";
@Test
void shouldCheckUserRole() {
......@@ -85,7 +85,7 @@ class OrganisationsEinheitRootProcessorTest {
@BeforeEach
void givenHasAdminRole() {
when(currentUserService.hasRole(anyString())).thenReturn(true);
when(organisationsEinheitProperties.getZufiSearchUri()).thenReturn(zufiSucheUri);
when(organisationsEinheitProperties.getZufiSearchUri()).thenReturn(zufiSearchUri);
}
@Nested
......@@ -120,7 +120,7 @@ class OrganisationsEinheitRootProcessorTest {
}
@Test
void shouldGetZufiSucheUri() {
void shouldGetZufiSearchUri() {
processModel();
verify(organisationsEinheitProperties).getZufiSearchUri();
......@@ -134,7 +134,7 @@ class OrganisationsEinheitRootProcessorTest {
assertThat(model.getLink(OrganisationsEinheitRootProcessor.REL_SEARCH_ORGANISATIONS_EINHEIT))
.get()
.extracting(Link::getHref)
.isEqualTo(zufiSucheUri);
.isEqualTo(zufiSearchUri);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment