Fix tests

This commit is contained in:
Vankka 2024-12-30 00:02:47 +02:00
parent c54f677761
commit b588dc185a
No known key found for this signature in database
GPG Key ID: 62E48025ED4E7EBB

View File

@ -56,6 +56,7 @@ import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import static org.junit.jupiter.api.Assertions.fail;
@ -222,7 +223,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
}
@Override
public void load() {
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
connectionConfigLoaded = true;
}
};
@ -249,7 +250,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
}
@Override
public void load() {
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
configLoaded = true;
}
};
@ -306,7 +307,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
}
@Override
public void load() {
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
messagesConfigLoaded = true;
}
};