Skip to content

Commit

Permalink
chore: add JUnit 4 support (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Eriksson authored Feb 26, 2021
1 parent 6db5bbf commit 0f87da2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
11 changes: 11 additions & 0 deletions vaadin-spring-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.vaadin.flow.connect;

import org.junit.Assert;
import org.junit.jupiter.api.Test;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
Expand Down
12 changes: 12 additions & 0 deletions vaadin-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- End Spring -->

<!-- Bean validation implementation-->
Expand Down

0 comments on commit 0f87da2

Please sign in to comment.