Skip to content

feat(database): new field type many to many (array) #5026

feat(database): new field type many to many (array)

feat(database): new field type many to many (array) #5026

Triggered via pull request June 22, 2024 07:20
@2013xile2013xile
synchronize #4708
T-4573
Status Failure
Total duration 29m 50s
Artifacts

nocobase-test-backend.yml

on: pull_request
Matrix: mariadb-test
Matrix: mysql-test
Matrix: postgres-test
Matrix: sqlite-test
Fit to window
Zoom out
Zoom in

Annotations

24 errors
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
sqlite-test (20, false)
Process completed with exit code 1.
sqlite-test (20, true)
The job was canceled because "_20_false" failed.
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
sqlite-test (20, true)
Process completed with exit code 1.
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
mysql-test (20, false)
Process completed with exit code 1.
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
mariadb-test (20, true)
Process completed with exit code 1.
mysql-test (20, true)
The job was canceled because "_20_false" failed.
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts > belongs-to-array > should create foreign key array: packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts#L101
AssertionError: expected [Function JSONTYPE] to deeply equal ARRAY{ options: { …(1) }, …(1) } - Expected: ARRAY { "options": Object { "type": [Function BIGINT], }, "type": BIGINT { "_decimals": undefined, "_length": undefined, "_precision": undefined, "_scale": undefined, "_unsigned": undefined, "_zerofill": undefined, "options": Object {}, }, } + Received: [Function JSONTYPE] ❯ packages/plugins/@nocobase/plugin-field-m2m-array/src/server/__tests__/belongs-to-array.test.ts:101:33
mysql-test (20, true)
Process completed with exit code 1.
mariadb-test (20, false)
The job was canceled because "_20_true" failed.
mariadb-test (20, false)
The operation was canceled.