[DEV] maven set old junit to be compatible with ant

This commit is contained in:
Edouard DUPIN 2020-09-06 21:36:20 +02:00
parent 12178bedac
commit eb831f6804
2 changed files with 9 additions and 2 deletions

View File

@ -25,6 +25,13 @@
<version>5.6.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>

View File

@ -13,9 +13,10 @@ import java.util.List;
import io.scenarium.logger.Logger;
import org.junit.Test;
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
//import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
@TestMethodOrder(OrderAnnotation.class)
@ -45,7 +46,6 @@ public class TestBasicLog {
public void secondInitialisation() {
List<String> args = new ArrayList<>();
Logger.init(TestBasicLog.class.getCanonicalName(), args);
}
@Test