This makes the tests independent of each other and allows them to be run in parallel. Co-authored-by: Gina Peter Banyard <girgias@php.net>
18 lines
252 B
PHP
18 lines
252 B
PHP
--TEST--
|
|
PostgreSQL pg_ping() functions
|
|
--EXTENSIONS--
|
|
pgsql
|
|
--SKIPIF--
|
|
<?php include("inc/skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
// optional functions
|
|
|
|
include('inc/config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
var_dump(pg_ping($db));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|