summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/privileged_connect.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/privileged_connect.phpt')
-rw-r--r--ext/oci8/tests/privileged_connect.phpt25
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/oci8/tests/privileged_connect.phpt b/ext/oci8/tests/privileged_connect.phpt
deleted file mode 100644
index 39122240a7..0000000000
--- a/ext/oci8/tests/privileged_connect.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-privileged connect tests
---SKIPIF--
-<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
---FILE--
-<?php
-
-require dirname(__FILE__)."/connect.inc";
-
-oci_connect("", "", "", false, OCI_SYSOPER);
-oci_connect("", "", "", false, OCI_SYSDBA);
-oci_connect("", "", "", false, -1);
-oci_connect("", "", "", false, "qwe");
-
-echo "Done\n";
-?>
---EXPECTF--
-Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d
-
-Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d
-
-Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
-
-Warning: oci_connect() expects parameter 5 to be long, string given in %s on line %d
-Done