Skip to content

Commit

Permalink
fixup! fixup! fixup! Fix unexpected warnings in TestUpdatedDataCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienClairembault committed Feb 11, 2025
1 parent a6c047a commit f800c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Command/TestUpdatedDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function __construct($dbhost, $dbuser, $dbpassword, $dbdefault)
} elseif ($field_type === 'json' && $value !== '[]') {
// Compare JSON fields using their CHAR representation
$criteria[$key] = new QueryExpression(
$fresh_db->quoteValue(QueryFunction::cast($value, 'JSON')),
QueryFunction::cast($fresh_db->quoteValue($value), 'JSON'),
);
} else {
$criteria[$key] = $value;
Expand Down

0 comments on commit f800c4c

Please sign in to comment.