Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: David Ullmer <davidullmer@outlook.de>
This commit is contained in:
parent
b4ab75cd69
commit
975d1537d4
|
@ -572,7 +572,7 @@ namespace Jellyfin.Networking.Tests
|
||||||
NetworkManager.MockNetworkSettings = interfaces;
|
NetworkManager.MockNetworkSettings = interfaces;
|
||||||
using var nm = new NetworkManager(GetMockConfig(conf), new NullLogger<NetworkManager>());
|
using var nm = new NetworkManager(GetMockConfig(conf), new NullLogger<NetworkManager>());
|
||||||
|
|
||||||
var interfaceToUse = nm.GetBindInterface(source, out var port);
|
var interfaceToUse = nm.GetBindInterface(source, out _);
|
||||||
|
|
||||||
Assert.Equal(interfaceToUse, result);
|
Assert.Equal(interfaceToUse, result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user