1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-10 09:26:22 +00:00

Fixed unit tests

This commit is contained in:
JKorf 2018-05-04 11:03:32 +02:00
parent d8801462bc
commit ebce7d675d

View File

@ -173,12 +173,15 @@ namespace CryptoExchange.Net.UnitTests
TestImplementation client;
if (withOptions)
{
client = new TestImplementation(new ExchangeOptions()
var options = new ExchangeOptions()
{
ApiCredentials = new ApiCredentials("Test", "Test2"),
LogVerbosity = verbosity,
LogWriters = new List<TextWriter>() { tw }
});
LogVerbosity = verbosity
};
if (tw != null)
options.LogWriters = new List<TextWriter>() { tw };
client = new TestImplementation(options);
}
else
{