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:
parent
d8801462bc
commit
ebce7d675d
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user