Skip to content

Commit e6e95e4

Browse files
committed
Update tests according changes in db
1 parent 4053c96 commit e6e95e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/Provider/QueryBuilderProvider.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public static function upsert(): array
277277
],
278278
),
279279
2 => ['ts' => 0, '[[orders]]' => new Expression('EXCLUDED.orders + 1')],
280-
3 => 'INSERT INTO {{%T_upsert}} ("email", [[ts]]) SELECT :phEmail AS "email", extract(epoch from now()) * 1000 AS [[ts]] ' .
280+
3 => 'INSERT INTO {{%T_upsert}} ("email", "ts") SELECT :phEmail AS "email", extract(epoch from now()) * 1000 AS [[ts]] ' .
281281
'ON CONFLICT ("email") DO UPDATE SET "ts"=0, "orders"=EXCLUDED.orders + 1',
282282
],
283283
'query, values and expressions without update part' => [
@@ -288,7 +288,7 @@ public static function upsert(): array
288288
'[[ts]]' => new Expression('extract(epoch from now()) * 1000'),
289289
],
290290
),
291-
3 => 'INSERT INTO "T_upsert" ("email", [[ts]]) SELECT :phEmail AS "email", extract(epoch from now()) * 1000 AS [[ts]] ON CONFLICT DO NOTHING',
291+
3 => 'INSERT INTO "T_upsert" ("email", "ts") SELECT :phEmail AS "email", extract(epoch from now()) * 1000 AS [[ts]] ON CONFLICT DO NOTHING',
292292
],
293293
'no columns to update' => [
294294
3 => 'INSERT INTO "T_upsert_1" ("a") VALUES (1) ON CONFLICT DO NOTHING',

0 commit comments

Comments
 (0)