mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 02:34:19 -04:00
Moved Assert
This commit is contained in:
parent
53e1b302cc
commit
20e19ae9b3
@ -57,8 +57,6 @@ namespace Jellyfin.Dlna.Tests
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Assert.True(GetManager().IsMatch(device.ToDeviceIdentification(), profile.Identification));
|
|
||||||
|
|
||||||
var profile2 = new DeviceProfile()
|
var profile2 = new DeviceProfile()
|
||||||
{
|
{
|
||||||
Name = "Test Profile",
|
Name = "Test Profile",
|
||||||
@ -70,7 +68,10 @@ namespace Jellyfin.Dlna.Tests
|
|||||||
};
|
};
|
||||||
|
|
||||||
var deviceMatch = GetManager().IsMatch(device.ToDeviceIdentification(), profile2.Identification);
|
var deviceMatch = GetManager().IsMatch(device.ToDeviceIdentification(), profile2.Identification);
|
||||||
|
var deviceMatch2 = GetManager().IsMatch(device.ToDeviceIdentification(), profile.Identification);
|
||||||
|
|
||||||
Assert.True(deviceMatch);
|
Assert.True(deviceMatch);
|
||||||
|
Assert.True(deviceMatch2);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user