Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
romankr committed Nov 24, 2023
1 parent b96453f commit 47d194c
Show file tree
Hide file tree
Showing 19 changed files with 196 additions and 372 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void Constructor_WithValidDependenciest_ReturnsNewInstance()
[Test]
public void Constructor_WithNullSecretClient_ThrowsException()
{
Action action = () =>
var action = () =>
{
_ = new KeyVaultClient(null);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void CreateSecretClient_WithValidName_ReturnsNewInstance()
[TestCase(null)]
public void CreateSecretClient_WithNullOrEmptyString_ThrowsException(string? vaultName)
{
Action action = () =>
var action = () =>
{
_ = SecretClientFactory.CreateSecretClient(vaultName);
};
Expand Down
10 changes: 5 additions & 5 deletions OddsCollector.Common.Tests/OddsApi/Client/OddsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void Constructor_WithNullWebApiClient_ThrowsException()
var keyVaultClientStub = Substitute.For<IKeyVaultClient>();
var converterStub = Substitute.For<IOddsApiObjectConverter>();

Action action = () =>
var action = () =>
{
_ = new OddsClient(null, keyVaultClientStub, converterStub);
};
Expand All @@ -42,7 +42,7 @@ public void Constructor_WithNullKeyVaultClient_ThrowsException()
var webApiClientStub = Substitute.For<IClient>();
var converterStub = Substitute.For<IOddsApiObjectConverter>();

Action action = () =>
var action = () =>
{
_ = new OddsClient(webApiClientStub, null, converterStub);
};
Expand All @@ -56,7 +56,7 @@ public void Constructor_WithNullConverter_ThrowsException()
var webApiClientStub = Substitute.For<IClient>();
var keyVaultClientStub = Substitute.For<IKeyVaultClient>();

Action action = () =>
var action = () =>
{
_ = new OddsClient(webApiClientStub, keyVaultClientStub, null);
};
Expand Down Expand Up @@ -210,7 +210,7 @@ public void GetUpcomingEventsAsync_WithNullLeagues_ThrowsException()

var oddsClient = new OddsClient(webApiClient, keyVaultClient, converter);

Action action = () =>
var action = () =>
{
_ = oddsClient.GetUpcomingEventsAsync(leagues: null).GetAwaiter().GetResult();
};
Expand All @@ -227,7 +227,7 @@ public void GetEventResultsAsync_WithNullLeagues_ThrowsException()

var oddsClient = new OddsClient(webApiClient, keyVaultClient, converter);

Action action = () =>
var action = () =>
{
_ = oddsClient.GetEventResultsAsync(leagues: null).GetAwaiter().GetResult();
};
Expand Down
Loading

0 comments on commit 47d194c

Please sign in to comment.