Merge pull request #8324 from dkapil/task/BAEL-19369_springdifix

BAEL-19369 go through the integration test results and see what NEW f…
This commit is contained in:
Loredana Crusoveanu 2019-12-08 11:32:15 +02:00 committed by GitHub
commit 8de37745a1
2 changed files with 8 additions and 1 deletions

View File

@ -85,6 +85,12 @@
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
<version>${commons.io.version}</version> <version>${commons.io.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectjweaver.version}</version>
</dependency>
<!-- Spring --> <!-- Spring -->
<!-- <dependency>--> <!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>--> <!-- <groupId>org.springframework</groupId>-->
@ -157,6 +163,7 @@
<spring-boot.version>1.5.2.RELEASE</spring-boot.version> <spring-boot.version>1.5.2.RELEASE</spring-boot.version>
<mockito.version>1.10.19</mockito.version> <mockito.version>1.10.19</mockito.version>
<assertj.version>3.12.2</assertj.version> <assertj.version>3.12.2</assertj.version>
<aspectjweaver.version>1.9.5</aspectjweaver.version>
</properties> </properties>
</project> </project>

View File

@ -16,7 +16,7 @@ import static org.hamcrest.CoreMatchers.*;
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = ComponentScanAspectJFilterApp.class) @SpringBootTest(classes = ComponentScanAspectJFilterApp.class)
public class ComponentScanAspectJFilterAppIntegrationTest { public class ComponentScanAspectJFilterAppUnitTest {
@Test @Test
public void whenAspectJFilterIsUsed_thenComponentScanShouldRegisterBeanMatchingAspectJCreteria() { public void whenAspectJFilterIsUsed_thenComponentScanShouldRegisterBeanMatchingAspectJCreteria() {