aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-21 12:08:02 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-21 12:08:02 +0100
commit20e19ae9b3a89e4c9aac00f2352eb6e3ec52230a (patch)
tree1fe4898dce967b1d9a31da1f20c987b3d801f998 /tests
parent53e1b302cc08181c7909719df0cd837fd4b182f4 (diff)
Moved Assert
Diffstat (limited to 'tests')
-rw-r--r--tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs b/tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs
index 087d43a77..668bd8f87 100644
--- a/tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs
+++ b/tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs
@@ -57,8 +57,6 @@ namespace Jellyfin.Dlna.Tests
}
};
- Assert.True(GetManager().IsMatch(device.ToDeviceIdentification(), profile.Identification));
-
var profile2 = new DeviceProfile()
{
Name = "Test Profile",
@@ -70,7 +68,10 @@ namespace Jellyfin.Dlna.Tests
};
var deviceMatch = GetManager().IsMatch(device.ToDeviceIdentification(), profile2.Identification);
+ var deviceMatch2 = GetManager().IsMatch(device.ToDeviceIdentification(), profile.Identification);
+
Assert.True(deviceMatch);
+ Assert.True(deviceMatch2);
}
[Fact]