Skip to content

Commit

Permalink
Skip test if ext/json is not available
Browse files Browse the repository at this point in the history
Otherwise the test fails.
  • Loading branch information
cmb69 committed Aug 7, 2019
1 parent 886be26 commit ae91f85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/pdo_pgsql/tests/bug71885_2.phpt
Expand Up @@ -3,6 +3,7 @@ Request #71855 (PDO placeholder escaping, part 2)
--SKIPIF--
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded');
if (!extension_loaded('json')) die('skip json extension not available');
require_once dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
require_once dirname(__FILE__) . '/config.inc';
PDOTest::skip();
Expand Down

0 comments on commit ae91f85

Please sign in to comment.