fix build

This commit is contained in:
anhefti 2021-02-04 17:26:57 +01:00
parent fd7699b68f
commit 77e8a7c68a
2 changed files with 1 additions and 7 deletions

View file

@ -80,16 +80,10 @@ public abstract class ExamAPIIntegrationTester {
@Autowired
protected CacheManager cacheManager;
// @MockBean
// public WebClientDetailsService webClientDetailsService;
@Before
public void setup() {
this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac)
.addFilter(this.springSecurityFilterChain).build();
// Mockito.when(this.webClientDetailsService.loadClientByClientId(Mockito.anyString())).thenReturn(
// getForExamClientAPI());
// clear all caches before a test
this.cacheManager.getCacheNames()
.stream()

View file

@ -11,5 +11,5 @@
</root>
<Logger name="ch.ethz.seb.sebserver.HTTPClientBot" level="INFO" additivity="true" />
<Logger name="ch.ethz.seb.sebserver" level="DEBUG" additivity="true" />
<!--<Logger name="ch.ethz.seb.sebserver" level="DEBUG" additivity="true" /> -->
</configuration>