From b17ced21e0783a4ee57ff8f095529fc8b6c51726 Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Sat, 7 Sep 2024 22:57:42 +0530 Subject: [PATCH] Added jwt authcallback error check to integration test as per review comment --- ably/auth_integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ably/auth_integration_test.go b/ably/auth_integration_test.go index a3dda2f5..4788f6b7 100644 --- a/ably/auth_integration_test.go +++ b/ably/auth_integration_test.go @@ -449,6 +449,7 @@ func TestAuth_JWT_Token_RSA8c(t *testing.T) { jwtTokenString, err := app.CreateJwt(time.Second*30, false) jwtToken = jwtTokenString if err != nil { + t.Fatalf("Error creating JWT: %v", err) return nil, err } return ably.TokenString(jwtTokenString), nil