Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 7bd8c94

Browse files
committed
Set the unit test flag on these tests too
1 parent df22128 commit 7bd8c94

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/TrackingCollectionTests/TrackingCollectionTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
[TestFixture]
1515
public class TrackingTests : TestBase
1616
{
17+
[TestFixtureSetUp]
18+
public void Setup()
19+
{
20+
Splat.ModeDetector.Current.SetInUnitTestRunner(true);
21+
}
22+
1723
[Test]
1824
public void OrderByUpdatedNoFilter()
1925
{

src/TrackingCollectionTests/TrackingCollectionTests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
<Project>{1ce2d235-8072-4649-ba5a-cfb1af8776e0}</Project>
114114
<Name>ReactiveUI_Net45</Name>
115115
</ProjectReference>
116+
<ProjectReference Include="..\..\submodules\splat\Splat\Splat-Net45.csproj">
117+
<Project>{252ce1c2-027a-4445-a3c2-e4d6c80a935a}</Project>
118+
<Name>Splat-Net45</Name>
119+
</ProjectReference>
116120
<ProjectReference Include="..\GitHub.Exports.Reactive\GitHub.Exports.Reactive.csproj">
117121
<Project>{e4ed0537-d1d9-44b6-9212-3096d7c3f7a1}</Project>
118122
<Name>GitHub.Exports.Reactive</Name>

0 commit comments

Comments
 (0)