test: migrate more migration cases, a few minor fixes #443
Annotations
7 errors
|
build-test (20.x, sqlite)
Process completed with exit code 1.
|
|
orm/policy/crud/read.test.ts > Read policy tests > Find tests > works with filtered by to-one relation non-null:
tests/e2e/orm/policy/crud/read.test.ts#L297
Error: Entity not found for model "Foo"
❯ UpdateOperationHandler.update ../../packages/runtime/src/client/crud/operations/base.ts:1010:35
❯ ../../packages/runtime/src/client/crud/operations/update.ts:29:34
❯ ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/kysely.js:436:32
❯ DefaultConnectionProvider.provideConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:10:20
❯ UpdateOperationHandler.runUpdate ../../packages/runtime/src/client/crud/operations/update.ts:28:32
❯ proceed ../../packages/runtime/src/client/client-impl.ts:371:27
❯ orm/policy/crud/read.test.ts:297:13
|
|
test/v2-migrated/issue-971.test.ts > verifies issue 971:
tests/regression/test/v2-migrated/issue-971.test.ts#L5
Error: expect(received).toSatisfy()
Expected value to satisfy:
Failed to load schema: ../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:9:1 - Expecting token of type 'EOF' but found `abstract`., ../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:14:1 - Expecting token of type 'EOF' but found `abstract`., ../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:17:1 - Expecting token of type 'EOF' but found `abstract`.
Received:
Object {
"errors": Array [
"../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:9:1 - Expecting token of type 'EOF' but found `abstract`.",
"../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:14:1 - Expecting token of type 'EOF' but found `abstract`.",
"../../../../../../tmp/zenstack-schema-5ec5ea9a-cb96-4b88-8e5d-e223f0d19896.zmodel:17:1 - Expecting token of type 'EOF' but found `abstract`.",
],
"success": false,
"warnings": Array [],
}
❯ loadSchema ../../packages/testtools/src/schema.ts:103:15
❯ test/v2-migrated/issue-971.test.ts:5:5
|
|
build-test (20.x, postgresql)
Process completed with exit code 1.
|
|
orm/policy/crud/read.test.ts > Read policy tests > Find tests > works with filtered by to-one relation non-null:
tests/e2e/orm/policy/crud/read.test.ts#L297
Error: Entity not found for model "Foo"
❯ UpdateOperationHandler.update ../../packages/runtime/src/client/crud/operations/base.ts:1010:35
❯ ../../packages/runtime/src/client/crud/operations/update.ts:29:34
❯ ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/kysely.js:436:32
❯ DefaultConnectionProvider.provideConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:10:20
❯ UpdateOperationHandler.runUpdate ../../packages/runtime/src/client/crud/operations/update.ts:28:32
❯ proceed ../../packages/runtime/src/client/client-impl.ts:371:27
❯ orm/policy/crud/read.test.ts:297:13
|
|
test/v2-migrated/issue-971.test.ts > verifies issue 971:
tests/regression/test/v2-migrated/issue-971.test.ts#L5
Error: expect(received).toSatisfy()
Expected value to satisfy:
Failed to load schema: ../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:9:1 - Expecting token of type 'EOF' but found `abstract`., ../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:14:1 - Expecting token of type 'EOF' but found `abstract`., ../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:17:1 - Expecting token of type 'EOF' but found `abstract`.
Received:
Object {
"errors": Array [
"../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:9:1 - Expecting token of type 'EOF' but found `abstract`.",
"../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:14:1 - Expecting token of type 'EOF' but found `abstract`.",
"../../../../../../tmp/zenstack-schema-0a50620d-4afa-4daa-a797-06212e2c6b47.zmodel:17:1 - Expecting token of type 'EOF' but found `abstract`.",
],
"success": false,
"warnings": Array [],
}
❯ loadSchema ../../packages/testtools/src/schema.ts:103:15
❯ test/v2-migrated/issue-971.test.ts:5:5
|
|
build-test (20.x, postgresql)
The strategy configuration was canceled because "build-test._20_x_sqlite" failed
|