Skip to content
Snippets Groups Projects
Commit 520ae871 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4771 [test] rename variable

parent 0eb0ab84
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