From 4e5258d74c2bbb20f6cd84aba37796711a520003 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 14:22:10 +0100 Subject: [PATCH] pls work --- .../xyz/mcutils/backend/config/TestMongoConfig.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/test/java/xyz/mcutils/backend/config/TestMongoConfig.java b/src/test/java/xyz/mcutils/backend/config/TestMongoConfig.java index 0bf6fde..d5a0e06 100644 --- a/src/test/java/xyz/mcutils/backend/config/TestMongoConfig.java +++ b/src/test/java/xyz/mcutils/backend/config/TestMongoConfig.java @@ -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 { - -} \ No newline at end of file +@TestConfiguration +@DataMongoTest() +@ExtendWith(SpringExtension.class) +public class TestMongoConfig { } \ No newline at end of file