summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-09-24 17:10:09 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-09-24 17:12:18 +0200
commite74f89d95a1e33181f70f35cd8ccffe5dc0bb98b (patch)
treec5e1864ba73730a665552a34950b3444e4c97090
parent610e7d2c77f7af3cc69399e0fdcca0d99300e2ce (diff)
downloadphp-git-e74f89d95a1e33181f70f35cd8ccffe5dc0bb98b.tar.gz
Use proper skipif section
The ODBC tests have to be skipped if no connection to the server can be established.
-rw-r--r--ext/odbc/tests/bug78470.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/odbc/tests/bug78470.phpt b/ext/odbc/tests/bug78470.phpt
index 6910f9bbd1..d905b95667 100644
--- a/ext/odbc/tests/bug78470.phpt
+++ b/ext/odbc/tests/bug78470.phpt
@@ -1,9 +1,7 @@
--TEST--
Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)
--SKIPIF--
-<?php
-if (!extension_loaded('odbc')) die('skip odbc extension not available');
-?>
+<?php include 'skipif.inc'; ?>
--FILE--
<?php
include 'config.inc';