Skip to content

Commit

Permalink
add ContextConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
antkorwin committed Dec 17, 2018
1 parent cc6b675 commit 2e2c894
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.antkorwin</groupId>
<artifactId>spring-test-mongo</artifactId>
<version>0.9-SNAPSHOT</version>
<version>0.10-SNAPSHOT</version>
<packaging>jar</packaging>

<name>spring-test-mongo</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package com.antkorwin.springtestmongo.junit5;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.extension.ExtendWith;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.extension.ExtendWith;

import org.springframework.test.context.ContextConfiguration;

/**
* Created on 02.12.2018.
*
Expand All @@ -18,6 +20,7 @@
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Tag("antkorwin-mongodb-testcontainers")
@ContextConfiguration
@ExtendWith(MongoDbTcExtension.class)
public @interface EnableMongoDbTestContainers {
}

0 comments on commit 2e2c894

Please sign in to comment.