ci: Fix DB tests (no-changelog) (#8513)
This commit is contained in:
committed by
GitHub
parent
4f3de9ab3c
commit
d2d0ae6c5d
@@ -1,4 +1,5 @@
|
|||||||
import { mock } from 'jest-mock-extended';
|
import { mock } from 'jest-mock-extended';
|
||||||
|
import config from '@/config';
|
||||||
import { N8N_VERSION } from '@/constants';
|
import { N8N_VERSION } from '@/constants';
|
||||||
import { InternalHooks } from '@/InternalHooks';
|
import { InternalHooks } from '@/InternalHooks';
|
||||||
import type { License } from '@/License';
|
import type { License } from '@/License';
|
||||||
@@ -40,7 +41,7 @@ describe('InternalHooks', () => {
|
|||||||
|
|
||||||
expect(telemetry.identify).toHaveBeenCalledWith({
|
expect(telemetry.identify).toHaveBeenCalledWith({
|
||||||
version_cli: N8N_VERSION,
|
version_cli: N8N_VERSION,
|
||||||
db_type: 'sqlite',
|
db_type: config.get('database.type'),
|
||||||
n8n_version_notifications_enabled: true,
|
n8n_version_notifications_enabled: true,
|
||||||
n8n_disable_production_main_process: false,
|
n8n_disable_production_main_process: false,
|
||||||
system_info: {
|
system_info: {
|
||||||
|
|||||||
Reference in New Issue
Block a user