Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Commit 83bd4cb

Browse files
committed
Fixed auth correct unit test
1 parent 4f20536 commit 83bd4cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

RCONServerLib.Tests/RemoteConTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ public void RemoteConAuthFailureTest()
5050
[Fact]
5151
public void RemoteConAuthSuccessTest()
5252
{
53-
var server = new RemoteConServer(IPAddress.Any, 27015);
53+
var server = new RemoteConServer(IPAddress.Any, 27015)
54+
{
55+
Password = "supersecretpassword"
56+
};
5457
server.CommandManager.Add("test", "Test", (command, args) => "test");
5558

5659
var client = new RemoteConClient(server);

0 commit comments

Comments
 (0)