1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-16 19:03:01 +00:00

Fixed tests

This commit is contained in:
Jkorf
2021-11-10 13:18:52 +01:00
parent f83127590a
commit 6c3462403f
10 changed files with 39 additions and 4079 deletions
@@ -11,7 +11,7 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations
{
public class TestSocketClient: SocketClient
{
public TestSocketClient() : this(new SocketClientOptions("http://testurl.url"))
public TestSocketClient() : this(new SocketClientOptions())
{
}
@@ -24,7 +24,7 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations
public TestSocket CreateSocket()
{
Mock.Get(SocketFactory).Setup(f => f.CreateWebsocket(It.IsAny<Log>(), It.IsAny<string>())).Returns(new TestSocket());
return (TestSocket)CreateSocket(BaseAddress);
return (TestSocket)CreateSocket(ClientOptions.BaseAddress);
}
public CallResult<bool> ConnectSocketSub(SocketConnection sub)