This commit is contained in:
Lee 2024-04-18 14:22:10 +01:00
parent 6e336bb879
commit 4e5258d74c

@ -1,7 +1,9 @@
package xyz.mcutils.backend.config;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;
/**
* Test configuration for
@ -9,7 +11,7 @@ import org.springframework.boot.test.context.TestConfiguration;
*
* @author Braydon
*/
@TestConfiguration @DataMongoTest
public class TestMongoConfig {
}
@TestConfiguration
@DataMongoTest()
@ExtendWith(SpringExtension.class)
public class TestMongoConfig { }