diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-09-22 18:39:55 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-09-22 18:42:02 +0200 |
commit | 697945aa89c060548e003d8ca6785faf5a35e898 (patch) | |
tree | 164a91d1af6d12e9b1fd2d322302f5c0cfefa898 | |
parent | f989a4cd44f1bbabc6cdba9af1477125a8ba2f56 (diff) | |
download | php-git-697945aa89c060548e003d8ca6785faf5a35e898.tar.gz |
Fix test to be skipped if dom is not available
-rw-r--r-- | ext/libxml/tests/bug76777.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/libxml/tests/bug76777.phpt b/ext/libxml/tests/bug76777.phpt index ba9fd698e0..ce111178f3 100644 --- a/ext/libxml/tests/bug76777.phpt +++ b/ext/libxml/tests/bug76777.phpt @@ -3,6 +3,7 @@ Bug #76777 (first parameter of libxml_set_external_entity_loader callback undefi --SKIPIF-- <?php if (!extension_loaded('libxml')) die('skip'); +if (!extension_loaded('dom')) die('skip dom extension not available'); if (getenv("SKIP_ONLINE_TESTS")) die('skip online test'); ?> --FILE-- |