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 @Autowired
protected CacheManager cacheManager; protected CacheManager cacheManager;
// @MockBean
// public WebClientDetailsService webClientDetailsService;
@Before @Before
public void setup() { public void setup() {
this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac) this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac)
.addFilter(this.springSecurityFilterChain).build(); .addFilter(this.springSecurityFilterChain).build();
// Mockito.when(this.webClientDetailsService.loadClientByClientId(Mockito.anyString())).thenReturn(
// getForExamClientAPI());
// clear all caches before a test // clear all caches before a test
this.cacheManager.getCacheNames() this.cacheManager.getCacheNames()
.stream() .stream()

View file

@ -11,5 +11,5 @@
</root> </root>
<Logger name="ch.ethz.seb.sebserver.HTTPClientBot" level="INFO" additivity="true" /> <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> </configuration>