From 6511c4c6e0bb5ff2584feb03600d40511a3c43f4 Mon Sep 17 00:00:00 2001 From: xis Date: Tue, 24 Oct 2023 20:54:42 +0200 Subject: [PATCH] fix groupfolders path in intergration tests --- src/integration/resources/db/data.sql | 2 +- .../__groupfolders/{ => 1}/Nextcloud community.jpg | Bin .../nextclouddlna/util/ServerInfoProvider.kt | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) rename src/integration/resources/nextcloud/app/data/__groupfolders/{ => 1}/Nextcloud community.jpg (100%) diff --git a/src/integration/resources/db/data.sql b/src/integration/resources/db/data.sql index 269d352..3937d21 100644 --- a/src/integration/resources/db/data.sql +++ b/src/integration/resources/db/data.sql @@ -23,7 +23,7 @@ INSERT INTO `oc_filecache` VALUES (584,2,'__groupfolders','29ff0edf73a32cb03e437d88fd049245',3,'__groupfolders',2,1,3012412,1696702221,1696702221,0,0,'',31,''), (586,2,'__groupfolders/1','e46cc72327dfc3ccaf32f0a167e6c6d1',584,'1',2,1,3012412,1696695701,1696695701,0,0,'',31,''), -(587,2,'__groupfolders/Nextcloud community.jpg','b9b3caef83a2a1c20354b98df6bcd9d0',586,'Nextcloud community.jpg',12,10,797325,1695737657,1695737657,0,0, +(587,2,'__groupfolders/1/Nextcloud community.jpg','b9b3caef83a2a1c20354b98df6bcd9d0',586,'Nextcloud community.jpg',12,10,797325,1695737657,1695737657,0,0, '',27,''), (4,2,'appdata_integration','bed7fa8a60170b5d88c9da5e69eaeb5a',3,'appdata_integration',2,1,10274496,1695737790,1695737790,0,0,'',31,''), diff --git a/src/integration/resources/nextcloud/app/data/__groupfolders/Nextcloud community.jpg b/src/integration/resources/nextcloud/app/data/__groupfolders/1/Nextcloud community.jpg similarity index 100% rename from src/integration/resources/nextcloud/app/data/__groupfolders/Nextcloud community.jpg rename to src/integration/resources/nextcloud/app/data/__groupfolders/1/Nextcloud community.jpg diff --git a/src/main/kotlin/net/schowek/nextclouddlna/util/ServerInfoProvider.kt b/src/main/kotlin/net/schowek/nextclouddlna/util/ServerInfoProvider.kt index 1473442..3b9614e 100644 --- a/src/main/kotlin/net/schowek/nextclouddlna/util/ServerInfoProvider.kt +++ b/src/main/kotlin/net/schowek/nextclouddlna/util/ServerInfoProvider.kt @@ -1,6 +1,5 @@ package net.schowek.nextclouddlna.util -import jakarta.annotation.PostConstruct import mu.KLogging import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Profile