From c9dc9e214965d34b6c6171e3570302f18080bba7 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 7 Mar 2022 18:42:51 +0100 Subject: [PATCH] [applets/systemtray] Fix test data lookup The files got changed from desktop to json, fix the lookup --- applets/systemtray/autotests/systemtraymodeltest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applets/systemtray/autotests/systemtraymodeltest.cpp b/applets/systemtray/autotests/systemtraymodeltest.cpp index aab607e7d..05cc278db 100644 --- a/applets/systemtray/autotests/systemtraymodeltest.cpp +++ b/applets/systemtray/autotests/systemtraymodeltest.cpp @@ -115,8 +115,8 @@ void SystemTrayModelTest::testPlasmoidModel() // given: mocked PlasmoidRegistry with sample plugin meta data MockedSystemTraySettings *settings = new MockedSystemTraySettings(); MockedPlasmoidRegistry *plasmoidRegistry = new MockedPlasmoidRegistry(settings); - plasmoidRegistry->m_systemTrayApplets.insert(DEVICENOTIFIER_ID, KPluginMetaData(QFINDTESTDATA("data/devicenotifier/metadata.desktop"))); - plasmoidRegistry->m_systemTrayApplets.insert(MEDIACONROLLER_ID, KPluginMetaData(QFINDTESTDATA("data/mediacontroller/metadata.desktop"))); + plasmoidRegistry->m_systemTrayApplets.insert(DEVICENOTIFIER_ID, KPluginMetaData(QFINDTESTDATA("data/devicenotifier/metadata.json"))); + plasmoidRegistry->m_systemTrayApplets.insert(MEDIACONROLLER_ID, KPluginMetaData(QFINDTESTDATA("data/mediacontroller/metadata.json"))); // when: model is initialized PlasmoidModel *model = new PlasmoidModel(settings, plasmoidRegistry);