diff --git a/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt b/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt index 4900c79..4c5d4c9 100644 --- a/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt +++ b/lib/src/test/kotlin/foundation/esoteric/minecraft/plugins/library/messages/MessageManagerTest.kt @@ -24,7 +24,7 @@ class MessageManagerTest { } @Test fun getMessageWorks() { - val message = messageManager!!.getRawMessage(Locale.forLanguageTag("en-uk"), "test-message") + val message = messageManager!!.getRawMessage(Locale.UK, "test-message") assertEquals(message, "Test") } diff --git a/lib/src/test/resources/messages/en-uk.yml b/lib/src/test/resources/messages/en-GB.yml similarity index 100% rename from lib/src/test/resources/messages/en-uk.yml rename to lib/src/test/resources/messages/en-GB.yml