Skip to content

Commit 5ea0ee5

Browse files
committed
format
Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent 3aafb34 commit 5ea0ee5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RabbitMQ.AMQP.Client/Impl/AmqpManagement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public IBindingSpecification Binding()
139139
public async Task RefreshTokenAsync(string token)
140140
{
141141
int[] expectedResponseCodes = { Code204 };
142-
_ = await RequestAsync( Encoding.ASCII.GetBytes(token),
142+
_ = await RequestAsync(Encoding.ASCII.GetBytes(token),
143143
AuthTokens, Put, expectedResponseCodes)
144144
.ConfigureAwait(false);
145145
}

Tests/OAuth2Tests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public async Task ConnectToRabbitMqWithOAuth2TokenShouldSuccess()
4444
await connection.CloseAsync();
4545
}
4646

47-
4847
[SkippableFact]
4948
public async Task RefreshTokenShouldNotDisconnectTheClient()
5049
{
@@ -124,7 +123,8 @@ private static string GenerateToken(DateTime duration)
124123
claims: claims,
125124
expires: duration,
126125
signingCredentials: creds
127-
) { Header = { ["kid"] = "token-key" } };
126+
)
127+
{ Header = { ["kid"] = "token-key" } };
128128

129129
var tokenHandler = new JwtSecurityTokenHandler();
130130
return tokenHandler.WriteToken(token);

0 commit comments

Comments
 (0)