From 4c20b5b13a98c8686ed6b8404a246a08e3f059ab Mon Sep 17 00:00:00 2001 From: Spoocy99 <76441091+Spoocy99@users.noreply.github.com> Date: Sun, 23 Aug 2026 18:18:39 +0200 Subject: [PATCH] Moved test file path --- .../java/dev/spoocy/utils/config/bean/ConfigBeanSaveTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-utils/src/test/java/dev/spoocy/utils/config/bean/ConfigBeanSaveTest.java b/config-utils/src/test/java/dev/spoocy/utils/config/bean/ConfigBeanSaveTest.java index b89ad13..ca47260 100644 --- a/config-utils/src/test/java/dev/spoocy/utils/config/bean/ConfigBeanSaveTest.java +++ b/config-utils/src/test/java/dev/spoocy/utils/config/bean/ConfigBeanSaveTest.java @@ -74,10 +74,10 @@ void save(@TempDir Path path) throws Exception { } @Test - void saveToProvidedDocument() throws Exception { + void saveToProvidedDocument(@TempDir Path path) throws Exception { Bean bean = new Bean(); YamlConfig yaml = YamlConfigLoader.INSTANCE.createEmpty(s -> {}); - Resource resource = Resources.fromPath(Path.of("test-bean-save1.yml")); + Resource resource = Resources.fromPath(path.resolve("test-bean-save1.yml")); Document document = yaml.withRelation(resource); LOADER.save(bean, document);