Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ProdPreva1l committed Mar 9, 2025
1 parent f41b466 commit f09b29a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
dependencies {
compileOnly("io.papermc.paper:paper-api:1.17-R0.1-SNAPSHOT")

testImplementation("com.github.seeseemelk:MockBukkit-v1.19:3.93.2")
testImplementation("com.github.seeseemelk:MockBukkit-v1.19:3.1.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.4")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.11.4")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.11.4")
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/info/preva1l/hooker/HookerTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Preva1l
*/
@DisplayName("Hooker Tests (1.17.1)")
@DisplayName("Hooker Tests (1.19)")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class HookerTests {
@BeforeAll
Expand Down
5 changes: 1 addition & 4 deletions src/test/java/info/preva1l/hooker/example/MyPlugin.java
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
package info.preva1l.hooker.example;

import info.preva1l.hooker.Hooker;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.plugin.java.JavaPluginLoader;

import java.io.File;

/**
* Created on 9/03/2025
*
* @author Preva1l
*/
public class MyPlugin extends JavaPlugin {

@Override
public void onLoad() {
Hooker.register(this, "info.preva1l.hooker.example.hooks");
Expand Down

0 comments on commit f09b29a

Please sign in to comment.