mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 14:48:02 +03:00
Fixed server tests not binding to a proper ip
This commit is contained in:
parent
f95c320469
commit
8256cca36c
@ -18,7 +18,7 @@ namespace Facepunch.Steamworks.Test
|
|||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
using ( var server = new Facepunch.Steamworks.Server( 252490, 30002, 30003, false, "VersionString" ) )
|
using ( var server = new Facepunch.Steamworks.Server( 252490, 0, 30003, 30004, 30005, false, "VersionString" ) )
|
||||||
{
|
{
|
||||||
Assert.IsTrue( server.IsValid );
|
Assert.IsTrue( server.IsValid );
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@ namespace Facepunch.Steamworks.Test
|
|||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void PublicIp()
|
public void PublicIp()
|
||||||
{
|
{
|
||||||
using ( var server = new Facepunch.Steamworks.Server( 252490, 30002, 30003, false, "VersionString" ) )
|
using ( var server = new Facepunch.Steamworks.Server( 252490, 0, 30003, 30004, 30005, false, "VersionString" ) )
|
||||||
{
|
{
|
||||||
server.LogOnAnonymous();
|
server.LogOnAnonymous();
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ namespace Facepunch.Steamworks.Test
|
|||||||
var ticket = client.Auth.GetAuthSessionTicket();
|
var ticket = client.Auth.GetAuthSessionTicket();
|
||||||
var ticketBinary = ticket.Data;
|
var ticketBinary = ticket.Data;
|
||||||
|
|
||||||
using ( var server = new Facepunch.Steamworks.Server( 252490, 30002, 30003, true, "VersionString" ) )
|
using ( var server = new Facepunch.Steamworks.Server( 252490, 0, 30002, 30003, 30004, true, "VersionString" ) )
|
||||||
{
|
{
|
||||||
server.LogOnAnonymous();
|
server.LogOnAnonymous();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user