Skip to content

Commit 2b8aa85

Browse files
committed
use correct versions for stubs
1 parent d844d66 commit 2b8aa85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/me/itzg/helpers/modrinth/ModrinthCommandTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ void usingListingFile(@TempDir Path tempDir) throws Exception {
386386

387387
final Path listingFile = Files.write(tempDir.resolve("listing.txt"),
388388
Arrays.asList(
389-
"fabric-api:vNBWcMLP",
389+
"fabric-api",
390390
"# This is a comment",
391-
"cloth-config:qA00xo1O",
391+
"cloth-config",
392392
"",
393393
"# Another comment"
394394
)
@@ -400,15 +400,15 @@ void usingListingFile(@TempDir Path tempDir) throws Exception {
400400
.execute(
401401
"--api-base-url", wm.getRuntimeInfo().getHttpBaseUrl(),
402402
"--output-directory", tempDir.toString(),
403-
"--game-version", "1.21.5",
403+
"--game-version", "1.19.2",
404404
"--loader", "fabric",
405405
"--projects", "@" + listingFile
406406
);
407407

408408
assertThat(exitCode).isEqualTo(ExitCode.OK);
409409

410-
assertThat(tempDir.resolve("mods/fabric-api-0.127.1+1.21.5.jar")).exists();
411-
assertThat(tempDir.resolve("mods/cloth-config-18.0.145-fabric.jar")).exists();
410+
assertThat(tempDir.resolve("mods/fabric-api-0.76.1+1.19.2.jar")).exists();
411+
assertThat(tempDir.resolve("mods/cloth-config-8.3.103-fabric.jar")).exists();
412412
}
413413

414414
@NotNull

0 commit comments

Comments
 (0)