Skip to content

Commit d12d7dd

Browse files
committed
fix pgsql
1 parent 665c5a0 commit d12d7dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/rules/SyntaxErrorInPreparedStatementMethodRuleTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ public function testSyntaxErrorInQueryRule(): void
188188
388,
189189
],
190190
[
191-
"Query error: Unknown column 'asdsa' in 'where clause' (1054).",
191+
'Query error: SQLSTATE[42703]: Undefined column: 7 ERROR: column "asdsa" does not exist
192+
LINE 1: ...mail, adaid, gesperrt, freigabe1u1 FROM ada WHERE asdsa=\'1\' ...
193+
^ (42703).',
192194
389,
193195
],
194196
];

0 commit comments

Comments
 (0)