Patch interbase_tests_003_and_006_fixes for InterBase related Bug #55659
Patch version 2011-09-09 20:39 UTC
Return to Bug #55659 |
Download this patch
Patch Revisions:
Developer: lester@lsces.co.uk
# HG changeset patch
# User Lester Caine <lester@lsces.co.uk>
# Date 1315599786 -3600
# Branch PHP_5_3
# Node ID 84d8328354dee40c29bf33836e0a94b2944c32cf
# Parent 3519eb488d0c573b173009398d051cdd912dcc90
Tidy tests 003 and 006 for interbase driver
Changes to standards over time
diff -r 3519eb488d0c -r 84d8328354de ext/interbase/tests/003.phpt
--- a/ext/interbase/tests/003.phpt Fri Sep 09 08:28:57 2011 +0000
+++ b/ext/interbase/tests/003.phpt Fri Sep 09 21:23:06 2011 +0100
@@ -1,5 +1,5 @@
--TEST--
-InterBase: misc sql types (may take a while)
+InterBase: misc sql types management
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
@@ -157,27 +157,27 @@
int(10)
["ID_10"]=>
int(11)
- ["FIELD_00"]=>
+ ["CONSTANT"]=>
int(12)
- ["FIELD_01"]=>
+ ["CONSTANT_01"]=>
int(13)
- ["FIELD_02"]=>
+ ["CONSTANT_02"]=>
int(14)
- ["FIELD_03"]=>
+ ["CONSTANT_03"]=>
int(15)
- ["FIELD_04"]=>
+ ["CONSTANT_04"]=>
int(16)
- ["FIELD_05"]=>
+ ["CONSTANT_05"]=>
int(17)
- ["FIELD_06"]=>
+ ["CONSTANT_06"]=>
int(18)
- ["FIELD_07"]=>
+ ["CONSTANT_07"]=>
int(19)
- ["FIELD_08"]=>
+ ["CONSTANT_08"]=>
int(20)
- ["FIELD_09"]=>
+ ["CONSTANT_09"]=>
int(21)
- ["FIELD_10"]=>
+ ["CONSTANT_10"]=>
int(22)
}
end of test
diff -r 3519eb488d0c -r 84d8328354de ext/interbase/tests/006.phpt
--- a/ext/interbase/tests/006.phpt Fri Sep 09 08:28:57 2011 +0000
+++ b/ext/interbase/tests/006.phpt Fri Sep 09 21:23:06 2011 +0100
@@ -1,5 +1,5 @@
--TEST--
-InterBase: binding (may take a while)
+InterBase: binding to prepared query
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
@@ -210,7 +210,7 @@
out_result($res, "test6");
ibase_free_result($res);
- $res = ibase_execute($query, "5", 7.5);
+ $res = ibase_execute($query, "5", 7.499);
out_result($res, "test6");
ibase_free_result($res);
|