Browse Source

Improve test portabilty

pull/7/head
Christopher Jones 15 years ago
parent
commit
68f785ac70
  1. 2
      ext/oci8/tests/bug37220.phpt
  2. 22
      ext/oci8/tests/xmltype_02.phpt

2
ext/oci8/tests/bug37220.phpt

@ -43,7 +43,7 @@ oci_execute($stmt);
while ($row = oci_fetch_array($stmt, OCI_ASSOC+OCI_RETURN_NULLS)) {
foreach ($row as $item) {
echo $item."\n";
echo trim($item)."\n";
}
echo "\n";
}

22
ext/oci8/tests/xmltype_02.phpt

@ -164,18 +164,18 @@ object(SimpleXMLElement)#%d (10) {
string(2) "10"
}
Test 3: Update changes using a temporary CLOB
string(331) "<?xml version="1.0"?>
string(%d) "<?xml version="1.0"?>
<Warehouse>
<WarehouseId>1</WarehouseId>
<WarehouseName>Southlake, Texas</WarehouseName>
<Building>Owned</Building>
<Area>25000</Area>
<Docks>1</Docks>
<DockType>Rear load</DockType>
<WaterAccess>true</WaterAccess>
<RailAccess>N</RailAccess>
<Parking>Street</Parking>
<VClearance>10</VClearance>
%sWarehouseId>1</WarehouseId>
%sWarehouseName>Southlake, Texas</WarehouseName>
%sBuilding>Owned</Building>
%sArea>25000</Area>
%sDocks>1</Docks>
%sDockType>Rear load</DockType>
%sWaterAccess>true</WaterAccess>
%sRailAccess>N</RailAccess>
%sParking>Street</Parking>
%sVClearance>10</VClearance>
</Warehouse>
"
===DONE===
Loading…
Cancel
Save