Fix tests that broke during the junit 5 update (#9757)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
This commit is contained in:
parent
3ebe415f47
commit
9c0b169922
15 changed files with 125 additions and 106 deletions
|
|
@ -193,3 +193,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ System.setOut(out);
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/test/java/org/bukkit/PerRegistryTest.java b/src/test/java/org/bukkit/PerRegistryTest.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/test/java/org/bukkit/PerRegistryTest.java
|
||||
+++ b/src/test/java/org/bukkit/PerRegistryTest.java
|
||||
@@ -0,0 +0,0 @@ public class PerRegistryTest extends AbstractTestingBase {
|
||||
if (!(object instanceof CraftRegistry<?, ?> registry)) {
|
||||
continue;
|
||||
}
|
||||
+ if (object instanceof io.papermc.paper.world.structure.PaperConfiguredStructure.LegacyRegistry) continue; // Paper - skip
|
||||
|
||||
data.add(Arguments.of(registry));
|
||||
} catch (ReflectiveOperationException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue