Fix test
This commit is contained in:
parent
fd01796121
commit
7a3b8d4a98
@ -61,6 +61,15 @@ public class SeminarOppositionPanelTest extends SciProTest {
|
|||||||
finalSeminar.setProject(project);
|
finalSeminar.setProject(project);
|
||||||
|
|
||||||
setLoggedInAs(supervisorUser);
|
setLoggedInAs(supervisorUser);
|
||||||
|
|
||||||
|
Mockito.lenient()
|
||||||
|
.when(finalSeminarOppositionService.getCriteriaForOpposition(opposition))
|
||||||
|
.thenReturn(
|
||||||
|
new OppositionCriteria(
|
||||||
|
1,
|
||||||
|
List.of(new OppositionCriteria.Point(0, ""), new OppositionCriteria.Point(1, "Filled in report"))
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user