mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
perf(core): Eliminate unnecessary license server calls (#17047)
This commit is contained in:
@@ -101,6 +101,7 @@ describe('POST /license/renew', () => {
|
||||
});
|
||||
|
||||
test('errors out properly', async () => {
|
||||
License.prototype.getPlanName = jest.fn().mockReturnValue('Enterprise');
|
||||
License.prototype.renew = jest.fn().mockImplementation(() => {
|
||||
throw new Error(GENERIC_ERROR_MESSAGE);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user