update tests
[m6w6/ext-pq] / tests / bound001.phpt
diff --git a/tests/bound001.phpt b/tests/bound001.phpt
deleted file mode 100644 (file)
index 9e1bc20..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
---TEST--
-fetch bound
---SKIPIF--
-<?php 
-include "_skipif.inc";
-if (pq\Types::DEFINED) {
-       die("skip pq\Types::DEFINED == true");
-} 
-?>
---FILE--
-<?php
-echo "Test\n";
-
-include "_setup.inc";
-
-$c = new pq\Connection(PQ_DSN);
-$r = $c->exec("select 1*a,2*a,3*a from generate_series(2,3) a");
-$r->bind(0, $a);
-$r->bind(1, $b);
-$r->bind(2, $c);
-while ($s = $r->fetchBound()) {
-       var_dump($s,$a,$b,$c);
-}
-?>
-DONE
---EXPECT--
-Test
-array(3) {
-  [0]=>
-  &string(1) "2"
-  [1]=>
-  &string(1) "4"
-  [2]=>
-  &string(1) "6"
-}
-string(1) "2"
-string(1) "4"
-string(1) "6"
-array(3) {
-  [0]=>
-  &string(1) "3"
-  [1]=>
-  &string(1) "6"
-  [2]=>
-  &string(1) "9"
-}
-string(1) "3"
-string(1) "6"
-string(1) "9"
-DONE