EZP-22973: Fix test PHP warnings with postgres - Deprecated: mysql_escape_string()