Skip to content

Commit

Permalink
Fix flakey unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
markusrt committed May 1, 2024
1 parent 6e68e57 commit bdac36a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HaemophilusWebTests/Tools/HaemophilusPubMlstExportTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ namespace HaemophilusWeb.Tools
{
public class HaemophilusPubMlstExportTests
{
private IEnumerable<Sending> Sendings => new List<Sending> {Sending};
private List<Sending> Sendings;

private Sending Sending { get; set; }

[SetUp]
public void Setup()
{
Sending = MockData.CreateInstance<Sending>();
Sendings = new List<Sending> {Sending};
Sending.Isolate.EpsilometerTests.Clear();
Sending.Isolate.EpsilometerTests.Add(MockData.CreateInstance<EpsilometerTest>());
}
Expand Down

0 comments on commit bdac36a

Please sign in to comment.