Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
fix ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed May 9, 2019
1 parent c1002cb commit 2152c6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Xamarin.Forms.Xaml.UnitTests/Issues/Gh5706.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,16 @@ public Gh5706(bool useCompiledXaml)

[TestFixture] class Tests
{
IReadOnlyList<string> _flags;

[SetUp]
public void Setup()
{
Device.PlatformServices = new MockPlatformServices();
_flags = Device.Flags;
Device.SetFlags(new List<string>() { ExperimentalFlags.ShellExperimental });
}

[TearDown]
public void TearDown()
{
Device.PlatformServices = null;
Device.SetFlags(_flags);
}

[Test]
Expand Down

0 comments on commit 2152c6d

Please sign in to comment.