Skip to content

Commit dd6e0db

Browse files
committed
Fix pdo_oci tests
1 parent abab420 commit dd6e0db

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

tests/swoole_pdo_oracle/bug44301.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ run(function() {
2929
?>
3030
--EXPECTF--
3131
SQLSTATE[HY000]: General error: 942 OCIStmtExecute: ORA-00942: table or view does not exist
32-
(%s%epdo_oci%eoci_statement.c:%d)
32+
Help: %s
33+
(%s:%d)"

tests/swoole_pdo_oracle/bug_33707.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ array(3) {
3131
int(942)
3232
[2]=>
3333
string(%d) "OCIStmtExecute: ORA-00942: table or view does not exist
34+
Help: %s
3435
(%s:%d)"
3536
}

tests/swoole_pdo_oracle/pdo_oci_attr_autocommit_2.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ Test 1 Check beginTransaction insertion
110110
Test 2 Cause an exception and test beginTransaction rollback
111111
Caught expected exception at line %d
112112
SQLSTATE[HY000]: General error: 12899 OCIStmtExecute: ORA-12899: %s
113-
%s
113+
Help: %s
114+
(%s:%d)"
114115
Test 3 Setting ATTR_AUTOCOMMIT to true will commit and end the transaction
115116
PDO::ATTR_AUTOCOMMIT: bool(true)
116117
Caught expected exception at line %d

0 commit comments

Comments
 (0)