From cf40cded1708bb303be4a404b7aceddd196e1d46 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期三, 29 七月 2026 20:58:14 +0800
Subject: [PATCH] v1.0
---
src/Moli.Desktop.Tests/Plugins/PluginManagerTests.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/Moli.Desktop.Tests/Plugins/PluginManagerTests.cs b/src/Moli.Desktop.Tests/Plugins/PluginManagerTests.cs
index 52bfcf0..9505347 100644
--- a/src/Moli.Desktop.Tests/Plugins/PluginManagerTests.cs
+++ b/src/Moli.Desktop.Tests/Plugins/PluginManagerTests.cs
@@ -19,6 +19,7 @@
var plugin = Assert.Single(plugins);
Assert.Equal(new PluginId("sample.clock"), plugin.Id);
Assert.Equal(PluginState.Enabled, plugin.State);
+ Assert.Equal(Moli.Desktop.Layout.DisplayLayer.Normal, plugin.Manifest.DefaultLayout.DisplayLayer);
var registry = await CreateConfiguration(paths).LoadPluginRegistryAsync();
Assert.Contains(registry.Plugins, item => item.Id == new PluginId("sample.clock") && item.State == PluginState.Enabled);
@@ -99,7 +100,8 @@
"height": 160,
"locked": false,
"clickThrough": false,
- "opacity": 1.0
+ "opacity": 1.0,
+ "displayLayer": "normal"
}
}
""");
--
Gitblit v1.9.1