Merge pull request #8564 from Maiklins/BAEL-20598-Fix-unit-test-in-core-java-jndi-module

BAEL-20598 fix unit test in core java jndi module
This commit is contained in:
Loredana Crusoveanu 2020-01-26 18:38:07 +02:00 committed by GitHub
commit 268d7b5daa
2 changed files with 6 additions and 2 deletions

View File

@ -24,9 +24,14 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.5.1</version>
<version>${jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${jupiter.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>

View File

@ -17,7 +17,6 @@ import org.springframework.mock.jndi.SimpleNamingContextBuilder;
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class JndiExceptionsUnitTest {
@Disabled
@Test
@Order(1)
void givenNoContext_whenLookupObject_thenThrowNoInitialContext() {