more audit work

This commit is contained in:
master
2026-01-08 10:21:51 +02:00
parent 43c02081ef
commit 51cf4bc16c
546 changed files with 36721 additions and 4003 deletions

View File

@@ -9,6 +9,7 @@ namespace StellaOps.Scanner.Reachability.Tests;
public sealed class RichGraphGateAnnotatorTests
{
private static CancellationToken TestCancellationToken => TestContext.Current.CancellationToken;
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task AnnotateAsync_AddsAuthGateAndMultiplier()
@@ -37,7 +38,7 @@ public sealed class RichGraphGateAnnotatorTests
multiplierCalculator: new GateMultiplierCalculator(),
logger: NullLogger<RichGraphGateAnnotator>.Instance);
var annotated = await annotator.AnnotateAsync(graph);
var annotated = await annotator.AnnotateAsync(graph, TestCancellationToken);
Assert.Single(annotated.Edges);
var edge = annotated.Edges[0];