feat(database): new field type many to many (array) #5026
nocobase-test-backend.yml
on: pull_request
Matrix: mariadb-test
Matrix: mysql-test
Matrix: postgres-test
Matrix: sqlite-test
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.
|