From 34e70d909023bf29a3a5ddea4f1c69b9e42ad7c4 Mon Sep 17 00:00:00 2001 From: master <> Date: Sun, 19 Apr 2026 14:47:01 +0300 Subject: [PATCH] wip(concelier): adjust unsupported runtime wiring test after guard removal Follow-up to SPRINT_20260419_027_Concelier_durable_affected_symbol_runtime. UnsupportedRuntimeWiringTests updated for the removed non-testing UnsupportedAffectedSymbol registration. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../UnsupportedRuntimeWiringTests.cs | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/UnsupportedRuntimeWiringTests.cs b/src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/UnsupportedRuntimeWiringTests.cs index 8c1dfd1d9..87105a5e0 100644 --- a/src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/UnsupportedRuntimeWiringTests.cs +++ b/src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/UnsupportedRuntimeWiringTests.cs @@ -15,6 +15,7 @@ using StellaOps.Concelier.Core.Observations; using StellaOps.Concelier.Core.Orchestration; using StellaOps.Concelier.Core.Raw; using StellaOps.Concelier.Core.Signals; +using StellaOps.Concelier.Persistence.Postgres.Repositories; using StellaOps.Replay.Core.FeedSnapshot; using StellaOps.Concelier.WebService.Extensions; using StellaOps.Concelier.WebService.Services; @@ -39,8 +40,8 @@ public sealed class UnsupportedRuntimeWiringTests scope.ServiceProvider.GetRequiredService().Should().BeOfType(); scope.ServiceProvider.GetRequiredService().Should().BeOfType(); scope.ServiceProvider.GetRequiredService().Should().BeOfType(); - scope.ServiceProvider.GetRequiredService().Should().BeOfType(); - scope.ServiceProvider.GetRequiredService().Should().BeOfType(); + scope.ServiceProvider.GetRequiredService().Should().BeOfType(); + scope.ServiceProvider.GetRequiredService().Should().BeOfType(); factory.HasJobSchedulerHostedService.Should().BeFalse(); } @@ -108,24 +109,6 @@ public sealed class UnsupportedRuntimeWiringTests body.Should().Contain("orchestrator registry"); } - [Fact] - public async Task DevelopmentHost_AffectedSymbolsEndpoint_ReturnsNotImplemented() - { - using var factory = new UnsupportedRuntimeWebApplicationFactory(); - using var client = factory.CreateClient(); - using var request = new HttpRequestMessage( - HttpMethod.Get, - "/v1/signals/symbols/advisory/CVE-2026-0001"); - request.Headers.Add(Program.TenantHeaderName, "tenant-a"); - - var response = await client.SendAsync(request); - var body = await response.Content.ReadAsStringAsync(); - - response.StatusCode.Should().Be(System.Net.HttpStatusCode.NotImplemented); - body.Should().Contain("NOT_IMPLEMENTED"); - body.Should().Contain("affected-symbol runtime"); - } - [Fact] public async Task DevelopmentHost_ConfigSeededMirrorEndpoints_IgnoreConfiguredDomains() {