Skip to content
Snippets Groups Projects
Commit 57689c3e authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-4771 [test] rename variable

parent e6ac2a8c
No related branches found
No related tags found
No related merge requests found
...@@ -185,12 +185,12 @@ class ServiceKontoFactoryTest { ...@@ -185,12 +185,12 @@ class ServiceKontoFactoryTest {
@Test @Test
void shouldReturnServiceKonto() { void shouldReturnServiceKonto() {
var expectedServiceKonto = ServiceKonto.builder().build(); var serviceKonto = ServiceKonto.builder().build();
doReturn(expectedServiceKonto).when(factory).buildBayernIdServiceKonto(any()); doReturn(serviceKonto).when(factory).buildBayernIdServiceKonto(any());
var serviceKonto = factory.createBayernIdServiceKonto(formDataHeaders); var result = factory.createBayernIdServiceKonto(formDataHeaders);
assertThat(serviceKonto).contains(expectedServiceKonto); assertThat(result).contains(serviceKonto);
} }
@DisplayName("should return empty when trust level has unexpected value") @DisplayName("should return empty when trust level has unexpected value")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment