test: fixed MarvelousServerTest with non-erroring tinylog config
This commit is contained in:
		| @ -56,18 +56,14 @@ class MarvelousServerTest extends BaseGameLogicTest { | ||||
|  | ||||
|         json = new JSON(characterConfig); | ||||
|  | ||||
|         Map<String, String> map = new HashMap<>(); | ||||
|         Configuration.replace(map); | ||||
|         map.put("writer1", "console"); | ||||
|         map.put("writer1.level", "trace"); | ||||
|         map.put("writer1.format", "[{thread}] {level}: {message}"); | ||||
|         Configuration.replace(map); | ||||
|     } | ||||
|         if (!Configuration.isFrozen()) { | ||||
|             Configuration.set("writer1", "console"); | ||||
|             Configuration.set("writer1.level", "trace"); | ||||
|             Configuration.set("writer1.format", "[{thread}] {level}: <TEST> {message}"); | ||||
|         } | ||||
|    } | ||||
|  | ||||
|  | ||||
|     // 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 | ||||
|     void main() { | ||||
|         UserManager m = UserManager.getInstance(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user