Skip to content

Commit

Permalink
Missing changes from the last commit - reset log context in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Jul 7, 2015
1 parent e79a4cc commit e2e679e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Serilog.Tests/Context/LogContextTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO;
using System.Runtime.Remoting.Messaging;
using NUnit.Framework;
using Serilog.Context;
using Serilog.Events;
Expand All @@ -16,7 +17,8 @@ public class LogContextTests
[SetUp]
public void Setup()
{
LogContext.Suspend();
LogContext.PermitCrossAppDomainCalls = false;
CallContext.LogicalSetData(typeof(LogContext).FullName, null);
}

[Test]
Expand Down

0 comments on commit e2e679e

Please sign in to comment.