This commit is contained in:
Martin McKeaveney 2025-01-16 15:17:40 +00:00
parent e4f7fa7fad
commit c69e604eaf
1 changed files with 38 additions and 36 deletions

View File

@ -3650,10 +3650,11 @@ if (descriptions.length) {
}) })
}) })
if (isInternal || isMSSQL) {
describe("Fields with spaces", () => { describe("Fields with spaces", () => {
let table: Table let table: Table
let otherTable: Table let otherTable: Table
let relatedRow: Row, mainRow: Row let relatedRow: Row
beforeAll(async () => { beforeAll(async () => {
otherTable = await config.api.table.save(defaultTable()) otherTable = await config.api.table.save(defaultTable())
@ -3678,7 +3679,7 @@ if (descriptions.length) {
name: generator.word(), name: generator.word(),
description: generator.paragraph(), description: generator.paragraph(),
}) })
mainRow = await config.api.row.save(table._id!, { await config.api.row.save(table._id!, {
"nameWithSpace ": generator.word(), "nameWithSpace ": generator.word(),
tableId: table._id!, tableId: table._id!,
links: [relatedRow._id], links: [relatedRow._id],
@ -3692,6 +3693,7 @@ if (descriptions.length) {
expect(row["nameWithSpace "]).toBeDefined() expect(row["nameWithSpace "]).toBeDefined()
}) })
}) })
}
if (!isInternal && !isOracle) { if (!isInternal && !isOracle) {
describe("bigint ids", () => { describe("bigint ids", () => {