Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit f10d83c444
1385 changed files with 69732 additions and 10280 deletions

View File

@@ -15,13 +15,15 @@ namespace StellaOps.Cryptography.Plugin.SmRemote.Tests;
public class SmRemoteHttpProviderTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Service_EndToEnd_SignsAndVerifies()
{
Environment.SetEnvironmentVariable("SM_SOFT_ALLOWED", "1");
using var app = new WebApplicationFactory<Program>()
.WithWebHostBuilder(_ => { });
using StellaOps.TestKit;
var client = app.CreateClient();
var status = await client.GetFromJsonAsync<SmStatusResponse>("/status");
status.Should().NotBeNull();
@@ -39,7 +41,8 @@ public class SmRemoteHttpProviderTests
verify!.Valid.Should().BeTrue();
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task SignsAndVerifiesViaHttp()
{
var handler = new StubHandler();