From fb14eef1797b50ae9fd12d131f97f4a4ba25e74f Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Mon, 22 Apr 2024 23:01:31 -0400 Subject: [PATCH] Fix test check? --- API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java b/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java index bd1b412..6d53ee6 100644 --- a/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java +++ b/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java @@ -48,7 +48,7 @@ public final class EnvironmentUtils { // Are we running in a test? try { - Class.forName("org.junit.Test"); + Class.forName("org.junit.jupiter.engine.JupiterTestEngine"); testing = true; } catch (ClassNotFoundException ignored) { // Safely ignore