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

OZG-4771 [test] rename variable

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