summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/22pg_fetch_object.phpt
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2018-11-19 21:17:21 +0100
committerPeter Kokot <peterkokot@gmail.com>2018-11-19 22:17:58 +0100
commit2b9ceffb4126f8f3a3cc212f7c775cf1325d8fa2 (patch)
treeac0426e3474c093b71f4bea9019824ec0a10b677 /ext/pgsql/tests/22pg_fetch_object.phpt
parente00add198ce1d70a94ad9a443f91255b1c5cc3fa (diff)
downloadphp-git-2b9ceffb4126f8f3a3cc212f7c775cf1325d8fa2.tar.gz
Fix typo in tests
Diffstat (limited to 'ext/pgsql/tests/22pg_fetch_object.phpt')
-rw-r--r--ext/pgsql/tests/22pg_fetch_object.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/22pg_fetch_object.phpt b/ext/pgsql/tests/22pg_fetch_object.phpt
index 76a3fbeed3..ebdf77568e 100644
--- a/ext/pgsql/tests/22pg_fetch_object.phpt
+++ b/ext/pgsql/tests/22pg_fetch_object.phpt
@@ -17,7 +17,7 @@ class test_class {
$db = pg_connect($conn_str);
$sql = "SELECT * FROM $table_name WHERE num = 0";
-$result = pg_query($db, $sql) or die('Cannot qeury db');
+$result = pg_query($db, $sql) or die('Cannot query db');
$rows = pg_num_rows($result);
var_dump(pg_fetch_object($result, NULL, 'test_class', array(1, 2)));