Skip to content
4 changes: 2 additions & 2 deletions ext/pgsql/tests/pg_fetch_object_with_abstract_class.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ try {
--CLEAN--
<?php
include('config.inc');
$db = pg_connect($conn_str);
pg_query($db, "DROP TABLE IF EXISTS pg_fetch_object_abstract_class cascade");
$db = @pg_connect($conn_str);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue really weirds me out. would it be possible to do the cleaning somewhere in the file section instead just for testing once at least ?

@pg_query($db, "DROP TABLE IF EXISTS pg_fetch_object_abstract_class cascade");
?>
--EXPECT--
Error: Cannot instantiate interface I
Expand Down
Loading