Travis now builds Docker and create a Github release.
Removed ActiveMQ between WebGoat and WebWolf they now act as standalone applications
This commit is contained in:
@ -1,19 +0,0 @@
|
||||
package org.owasp.webgoat.plugins;
|
||||
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.mockito.Mockito;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* @author nbaars
|
||||
* @since 8/30/17.
|
||||
*/
|
||||
@Configuration
|
||||
public class JmsTestConfig {
|
||||
|
||||
@Bean
|
||||
public BrokerService broker() throws Exception {
|
||||
return Mockito.mock(BrokerService.class);
|
||||
}
|
||||
}
|
@ -9,7 +9,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.context.embedded.LocalServerPort;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.test.mock.mockito.MockBean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.test.context.TestPropertySource;
|
||||
import org.springframework.test.web.servlet.MockMvc;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
@ -24,7 +23,6 @@ import static org.mockito.Mockito.when;
|
||||
*/
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
@TestPropertySource(locations = "classpath:/application-test.properties")
|
||||
@Import(JmsTestConfig.class)
|
||||
public abstract class LessonTest {
|
||||
|
||||
@LocalServerPort
|
||||
|
Reference in New Issue
Block a user