Browse Source

Moved Assert

BaronGreenback 4 years ago
parent
commit
20e19ae9b3
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tests/Jellyfin.Dlna.Tests/DlnaManagerTests.cs

+ 3 - 2
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]