Skip to content

Commit

Permalink
Fix spurious test
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindet committed Apr 9, 2024
1 parent 79094ca commit 915e43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pg/test/sql/upsert.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ describe('byId', () => {
"type" = ${'post'},
"name" = ${'hello'},
"email" = ${'world'},
"config" = nullif(jsonb_strip_nulls((case jsonb_typeof("config") when 'object' then "config" else '{}'::jsonb end) ||
jsonb_build_object ( ${'foo'}::text , ${'3'}::jsonb)), '{}'::jsonb),
"config" = case jsonb_typeof("config") when 'object' then "config" else '{}'::jsonb end ||
jsonb_build_object ( ${'foo'}::text , ${'3'}::jsonb ),
"tags" = ${JSON.stringify([1, 2, 3])}::jsonb,
"quantities" = cube ( array[${100000} , ${75000} , ${0}]::float8[] ),
"version" = default
Expand Down

0 comments on commit 915e43e

Please sign in to comment.