test: fixed MarvelousServerTest with non-erroring tinylog config
This commit is contained in:
parent
b62f7a82d3
commit
1d257b3c08
@ -56,18 +56,14 @@ class MarvelousServerTest extends BaseGameLogicTest {
|
|||||||
|
|
||||||
json = new JSON(characterConfig);
|
json = new JSON(characterConfig);
|
||||||
|
|
||||||
Map<String, String> map = new HashMap<>();
|
if (!Configuration.isFrozen()) {
|
||||||
Configuration.replace(map);
|
Configuration.set("writer1", "console");
|
||||||
map.put("writer1", "console");
|
Configuration.set("writer1.level", "trace");
|
||||||
map.put("writer1.level", "trace");
|
Configuration.set("writer1.format", "[{thread}] {level}: <TEST> {message}");
|
||||||
map.put("writer1.format", "[{thread}] {level}: {message}");
|
}
|
||||||
Configuration.replace(map);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// If you want to complete this test, go ahead. It's slightly complicated, but if you understand this test,
|
|
||||||
// you should also understand the server, which serves as a good intro to it. You can - of course - also
|
|
||||||
// just ignore it.
|
|
||||||
@Test
|
@Test
|
||||||
void main() {
|
void main() {
|
||||||
UserManager m = UserManager.getInstance();
|
UserManager m = UserManager.getInstance();
|
||||||
|
Loading…
Reference in New Issue
Block a user