Skip to content

Commit da52b6d

Browse files
committed
test: update jwt auth token test
- Updated expected error message
1 parent c8dfc2a commit da52b6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/services/jwt_auth_token_service_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ void main() {
203203
isA<BadRequestException>().having(
204204
(e) => e.message,
205205
'message',
206-
'Malformed token: Missing subject claim.',
206+
// Updated expected message to match actual implementation
207+
'Malformed token: Missing or empty subject claim.',
207208
),
208209
),
209210
);

0 commit comments

Comments
 (0)