Skip to content

Commit

Permalink
Reset LogContext before each test in its fixture.
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Jul 7, 2015
1 parent e8ed475 commit e79a4cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/Serilog.Tests/Context/LogContextTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ namespace Serilog.Tests.Context
[TestFixture]
public class LogContextTests
{
[SetUp]
public void Setup()
{
LogContext.Suspend();
}

[Test]
public void MoreNestedPropertiesOverrideLessNestedOnes()
{
Expand Down

0 comments on commit e79a4cc

Please sign in to comment.