Skip to content

Commit

Permalink
Fix E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Jun 25, 2024
1 parent d791def commit 6c4c357
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class E2ETests extends BuilderBasedTestSpecification {
patchedRun.task(":neoforge:assemble").outcome == TaskOutcome.SUCCESS
patchedRun.task(":neoforge:userdevJar").outcome == TaskOutcome.SUCCESS

def userdevJar = project.patchedProject.file("build/libs/patched-1.0.0-userdev-contains-patch-userdev.jar")
def userdevJar = project.patchedProject.file("build/libs/neoforge-1.0.0-userdev-contains-patch-userdev.jar")
userdevJar.exists()

def patch = userdevJar.getZipEntry(PATCH_RESULT_PATH)
Expand All @@ -515,11 +515,6 @@ class E2ETests extends BuilderBasedTestSpecification {
patchContent.contains("This is a comment inserted by the test")
}

@Override
protected File getTestTempDirectory() {
return new File("build/roundtrip-test-temp")
}

def "a published userdev artifact can be loaded into userdev"() {
given:
def project = createPublishingProject("published-userdev-can-be-loaded")
Expand Down

0 comments on commit 6c4c357

Please sign in to comment.