File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
RabbitMQ.AMQP.Client/Impl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments