test: update server error test to expect actual error message

The test was expecting the old generic 'Please try again later or contact support'
message, but we now return the actual error message from the N8nServerError
('Internal server error') for better debugging.

This aligns with our change to make error messages more helpful by showing
the actual server error instead of a generic message.
This commit is contained in:
czlonkowski
2025-10-01 11:08:45 +02:00
parent 64b9cf47a7
commit 6d45ff8bcb

View File

@@ -499,7 +499,7 @@ describe('handlers-workflow-diff', () => {
expect(result).toEqual({
success: false,
error: 'n8n server error. Please try again later or contact support.',
error: 'Internal server error',
code: 'SERVER_ERROR',
});
});