fix tests
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 23s

This commit is contained in:
Lee
2024-04-18 13:55:02 +01:00
parent ce3067ee0e
commit 597c3850e3
5 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,21 @@
package xyz.mcutils.backend.config;
import jakarta.annotation.PostConstruct;
import jakarta.annotation.PreDestroy;
import lombok.NonNull;
import org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest;
import org.springframework.boot.test.context.TestConfiguration;
import redis.embedded.RedisServer;
import java.io.IOException;
/**
* Test configuration for
* a mock Redis server.
*
* @author Braydon
*/
@TestConfiguration @DataMongoTest
public class TestMongoConfig {
}