[PECL-CVS] [pecl-database-pdo_oci] main: Use FETCH_NUM in the test
[email protected] (Sharad Chandran R)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Sharad Chandran R (sharadraju)
Date: 2026-01-06T10:19:31+05:30
Commit: https://github.com/php/pecl-database-pdo_oci/commit/97b74096d90f385028b2791e445f1a686bc709c4
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/97b74096d90f385028b2791e445f1a686bc709c4.diff
Use FETCH_NUM in the test
Changed paths:
M tests/pdo_oci_insert_boolean.phpt
Diff:
diff --git a/tests/pdo_oci_insert_boolean.phpt b/tests/pdo_oci_insert_boolean.phpt
index e1dfe96..8adb716 100644
--- a/tests/pdo_oci_insert_boolean.phpt
+++ b/tests/pdo_oci_insert_boolean.phpt
@@ -40,7 +40,7 @@ $stmt->execute();
// Fetch and dump
$stmt = $db->query("SELECT id, bool_val FROM test_bool ORDER BY id");
-var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
+var_dump($stmt->fetchAll(PDO::FETCH_NUM));
// Cleanup
$db->exec("DROP TABLE test_bool");