Updating test values.

This commit is contained in:
mike12345567 2024-03-04 17:00:34 +00:00
parent 691536ce71
commit 86aefcfe1a
2 changed files with 6 additions and 6 deletions

View File

@ -168,7 +168,7 @@ describe("Captures of real examples", () => {
let query = SQL._query(queryJson, { disableReturning: true })
expect(query).toEqual({
sql: "insert into [people] ([age], [name]) values (@p0, @p1)",
bindings: [222, "awfawf"],
bindings: [22, "Test"],
})
// now check returning
@ -178,7 +178,7 @@ describe("Captures of real examples", () => {
}, queryJson)
expect(returningQuery).toEqual({
sql: "select * from (select top (@p0) * from [people] where [people].[name] = @p1 and [people].[age] = @p2 order by [people].[name] asc) as [people]",
bindings: [1, "awfawf", 222],
bindings: [1, "Test", 22],
})
})
})

View File

@ -13,14 +13,14 @@
"filters": {},
"relationships": [],
"body": {
"name": "awfawf",
"age": 222
"name": "Test",
"age": 22
},
"extra": {
"idFilter": {
"equal": {
"name": "awfawf",
"age": 222
"name": "Test",
"age": 22
}
}
},