LANCommander/LANCommander.Server.Tests/ClientFixture.cs
Pat Hartl 86c906f8db Add project for automated tests
Had to remove the responsibility of providing the current version of the application from UpdateService. A new IVersionProvider can be used to get the version. This also allows for this to be mocked in tests.
2025-03-15 21:00:00 -05:00

16 lines
No EOL
287 B
C#

namespace LANCommander.Server.Tests;
public class ClientFixture : IDisposable
{
public SDK.Client Client { get; set; }
public ClientFixture()
{
Client = new SDK.Client("", "C:\\Games");
}
public void Dispose()
{
Client.Disconnect();
}
}