Skip to content

Commit

Permalink
setup before each test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Oct 3, 2024
1 parent b89f226 commit dac32d1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public class MessageHeaderTest
public void OneTimeSetUp()
{
TestLogger.Setup();

MessageHeader.CurrentProgramName = nameof(MessageHeaderTest);
}

[OneTimeTearDown]
Expand All @@ -36,7 +34,10 @@ public void OneTimeTearDown() { }
#region Test Methods

[SetUp]
public void SetUp() { }
public void SetUp()
{
MessageHeader.CurrentProgramName = nameof(MessageHeaderTest);
}

[TearDown]
public void TearDown() { }
Expand Down

0 comments on commit dac32d1

Please sign in to comment.