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 {
@Test
void shouldReturnServiceKonto() {
var expectedServiceKonto = ServiceKonto.builder().build();
doReturn(expectedServiceKonto).when(factory).buildBayernIdServiceKonto(any());
var serviceKonto = ServiceKonto.builder().build();
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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment