Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka committed Dec 7, 2023
1 parent 11d1a7c commit e464066
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
import net.kyori.adventure.identity.Identity;
import net.kyori.adventure.text.Component;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

import java.util.Locale;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
Expand Down Expand Up @@ -71,6 +73,11 @@ public DiscordSRV discordSRV() {
return "Vankka";
}

@Override
public @Nullable Locale locale() {
return Locale.getDefault();
}

@Override
public @NotNull Component displayName() {
return Component.text("Vankka");
Expand Down

0 comments on commit e464066

Please sign in to comment.