Merge pull request #7304 from amit2103/BAEL-11603
[BAEL-11603] - Fixed tests in spring-mvc-java module
This commit is contained in:
commit
952c78e207
|
@ -144,6 +144,11 @@
|
|||
<artifactId>spring-messaging</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.glassfish</groupId>
|
||||
<artifactId>javax.el</artifactId>
|
||||
<version>${javax.el.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -290,7 +295,7 @@
|
|||
<!-- excel -->
|
||||
<poi.version>3.16-beta1</poi.version>
|
||||
|
||||
<javax.el.version>3.0.1-b06</javax.el.version>
|
||||
<javax.el.version>3.0.1-b09</javax.el.version>
|
||||
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.web.controller;
|
||||
package com.baeldung.web.controller.message;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
|
@ -15,7 +15,7 @@ import org.thymeleaf.templateresolver.ServletContextTemplateResolver;
|
|||
|
||||
@Configuration
|
||||
@EnableWebMvc
|
||||
@ComponentScan(basePackages = { "com.baeldung.web.controller" })
|
||||
@ComponentScan(basePackages = { "com.baeldung.web.controller.message" })
|
||||
public class TestConfig implements WebMvcConfigurer {
|
||||
|
||||
@Autowired
|
||||
|
@ -44,5 +44,4 @@ public class TestConfig implements WebMvcConfigurer {
|
|||
templateEngine.setTemplateResolver(templateResolver());
|
||||
return templateEngine;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue