using System.Net; using WireMock.Server; namespace VRCAuthProxy.Tests.Helpers { public class TestSetup : IDisposable { public WireMockServer MockVRChatApi { get; private set; } public TestSetup() { // Start WireMock server to mock VRChat API MockVRChatApi = WireMockServer.Start(); } public void Dispose() { MockVRChatApi?.Dispose(); } /// /// Creates a test configuration with mock accounts /// public static Config CreateTestConfig() { return new Config { Accounts = new List { new ConfigAccount { username = "testuser1", password = "testpassword1", totpSecret = "TESTSECRET1" }, new ConfigAccount { username = "testuser2", password = "testpassword2" } } }; } } }