@@ -32,7 +32,7 @@ func TestNegotiateClaimWithCloseTimeout(t *testing.T) {
3232 tp .EXPECT ().GetToken (gomock .Any ()).Return (& auth.Token {}, nil )
3333
3434 mock .SetupRPC (sender , receiver , 1 , func (sent , response * amqp.Message ) {
35- response .ApplicationProperties = map [string ]interface {} {
35+ response .ApplicationProperties = map [string ]any {
3636 "status-code" : int32 (200 ),
3737 }
3838 })
@@ -85,7 +85,7 @@ func TestNegotiateClaimWithAuthFailure(t *testing.T) {
8585 mock .SetupRPC (sender , receiver , 1 , func (sent , response * amqp.Message ) {
8686 // this is the kind of error you get if your connection string is inconsistent
8787 // (ie, you tamper with the shared key, etc..)
88- response .ApplicationProperties = map [string ]interface {} {
88+ response .ApplicationProperties = map [string ]any {
8989 "status-code" : int32 (401 ),
9090 "status-description" : "InvalidSignature: The token has an invalid signature." ,
9191 "error-condition" : "com.microsoft:auth-failed" ,
@@ -117,7 +117,7 @@ func TestNegotiateClaimSuccess(t *testing.T) {
117117 receiver .EXPECT ().Close (mock .NotCancelledAndHasTimeout )
118118
119119 mock .SetupRPC (sender , receiver , 1 , func (sent , response * amqp.Message ) {
120- response .ApplicationProperties = map [string ]interface {} {
120+ response .ApplicationProperties = map [string ]any {
121121 "status-code" : int32 (200 ),
122122 }
123123 })
0 commit comments