mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2025-01-06 19:09:18 +01:00
Fix tests
This commit is contained in:
parent
c54f677761
commit
b588dc185a
@ -56,6 +56,7 @@ import java.nio.file.Files;
|
|||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.nio.file.Paths;
|
import java.nio.file.Paths;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.fail;
|
import static org.junit.jupiter.api.Assertions.fail;
|
||||||
|
|
||||||
@ -222,7 +223,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load() {
|
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
|
||||||
connectionConfigLoaded = true;
|
connectionConfigLoaded = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -249,7 +250,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load() {
|
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
|
||||||
configLoaded = true;
|
configLoaded = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -306,7 +307,7 @@ public class MockDiscordSRV extends AbstractDiscordSRV<IBootstrap, MainConfig, C
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load() {
|
public void reload(boolean forceSave, AtomicBoolean anyMissingOptions) {
|
||||||
messagesConfigLoaded = true;
|
messagesConfigLoaded = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user