mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix unit test failing.
This commit is contained in:
@@ -7,6 +7,7 @@ public class SyncrhonizationContextTests
|
||||
[Fact]
|
||||
public void SynchronizationContext_CreateCopy ()
|
||||
{
|
||||
ConsoleDriver.RunningUnitTests = true;
|
||||
Application.Init ();
|
||||
SynchronizationContext context = SynchronizationContext.Current;
|
||||
Assert.NotNull (context);
|
||||
@@ -61,6 +62,7 @@ public class SyncrhonizationContextTests
|
||||
[AutoInitShutdown]
|
||||
public void SynchronizationContext_Send ()
|
||||
{
|
||||
ConsoleDriver.RunningUnitTests = true;
|
||||
Application.Init ();
|
||||
SynchronizationContext context = SynchronizationContext.Current;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user