From c341da3e817bb12a53744f2cec5fa95156985d3a Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Sat, 30 Nov 2024 00:19:48 +0100 Subject: [PATCH] Fix tests --- .../test/java/net/neoforged/fml/loading/FMLLoaderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/src/test/java/net/neoforged/fml/loading/FMLLoaderTest.java b/loader/src/test/java/net/neoforged/fml/loading/FMLLoaderTest.java index 2e352abe2..657155dc3 100644 --- a/loader/src/test/java/net/neoforged/fml/loading/FMLLoaderTest.java +++ b/loader/src/test/java/net/neoforged/fml/loading/FMLLoaderTest.java @@ -444,7 +444,7 @@ void testDependencyOverride() throws Exception { }); }) .build(); - assertThat(launchAndLoad("forgeclient").issues()).isEmpty(); + assertThat(launchAndLoad("neoforgeclient").issues()).isEmpty(); } @Test @@ -455,7 +455,7 @@ void testInvalidDependencyOverride() throws Exception { installation.writeConfig("[dependencyOverrides]", "unknownmod = [\"-testmod\"]", "testmod = [\"+depdoesntexist\"]"); installation.buildModJar("testmod.jar").withMod("testmod", "1.0").build(); - var r = launchAndLoad("forgeclient"); + var r = launchAndLoad("neoforgeclient"); assertThat(getTranslatedIssues(r.issues())).containsOnly( "WARNING: Unknown dependency override target with id unknownmod", "WARNING: Unknown mod depdoesntexist referenced in dependency overrides for mod testmod");