Skip to content

Commit

Permalink
Update log entry tests for AdditionalData counts
Browse files Browse the repository at this point in the history
Modified test assertions for `AdditionalData` counts in
parsed log entries. Updated expected values to reflect removing entries that are already added as properties
  • Loading branch information
FrodeHus committed Dec 14, 2024
1 parent 3ead0ef commit a11bf3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BeyondTrustConnector.Tests/ParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void ItCanParseMultiSegmentLogs()
var parser = new BeyondTrustLogParser(log);
var events = parser.Parse();
Assert.Equal(2, events.Count);
Assert.Equal(99, events.First().AdditionalData.Count);
Assert.Equal(97, events.First().AdditionalData.Count);
}

[Fact]
Expand All @@ -28,7 +28,7 @@ public void ItCanParseBeyondTrustLogEntries()
var parser = new BeyondTrustLogParser(log);
var events = parser.Parse();
Assert.Single(events);
Assert.Equal(7, events.First().AdditionalData.Count);
Assert.Equal(5, events.First().AdditionalData.Count);
}

[Theory]
Expand Down

0 comments on commit a11bf3a

Please sign in to comment.