mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-11 18:06:27 +00:00
Fixed unit tests
This commit is contained in:
parent
d8801462bc
commit
ebce7d675d
@ -173,12 +173,15 @@ namespace CryptoExchange.Net.UnitTests
|
|||||||
TestImplementation client;
|
TestImplementation client;
|
||||||
if (withOptions)
|
if (withOptions)
|
||||||
{
|
{
|
||||||
client = new TestImplementation(new ExchangeOptions()
|
var options = new ExchangeOptions()
|
||||||
{
|
{
|
||||||
ApiCredentials = new ApiCredentials("Test", "Test2"),
|
ApiCredentials = new ApiCredentials("Test", "Test2"),
|
||||||
LogVerbosity = verbosity,
|
LogVerbosity = verbosity
|
||||||
LogWriters = new List<TextWriter>() { tw }
|
};
|
||||||
});
|
if (tw != null)
|
||||||
|
options.LogWriters = new List<TextWriter>() { tw };
|
||||||
|
|
||||||
|
client = new TestImplementation(options);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user