Skip to content

Commit

Permalink
Fix pdo_oci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed May 9, 2024
1 parent abab420 commit dd6e0db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/swoole_pdo_oracle/bug44301.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ run(function() {
?>
--EXPECTF--
SQLSTATE[HY000]: General error: 942 OCIStmtExecute: ORA-00942: table or view does not exist
(%s%epdo_oci%eoci_statement.c:%d)
Help: %s
(%s:%d)"
1 change: 1 addition & 0 deletions tests/swoole_pdo_oracle/bug_33707.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ array(3) {
int(942)
[2]=>
string(%d) "OCIStmtExecute: ORA-00942: table or view does not exist
Help: %s
(%s:%d)"
}
3 changes: 2 additions & 1 deletion tests/swoole_pdo_oracle/pdo_oci_attr_autocommit_2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ Test 1 Check beginTransaction insertion
Test 2 Cause an exception and test beginTransaction rollback
Caught expected exception at line %d
SQLSTATE[HY000]: General error: 12899 OCIStmtExecute: ORA-12899: %s
%s
Help: %s
(%s:%d)"
Test 3 Setting ATTR_AUTOCOMMIT to true will commit and end the transaction
PDO::ATTR_AUTOCOMMIT: bool(true)
Caught expected exception at line %d
Expand Down

0 comments on commit dd6e0db

Please sign in to comment.