cockpit/testsets/Mangler 2.xml in cpee-1.3.190 vs cockpit/testsets/Mangler 2.xml in cpee-1.3.191
- old
+ new
@@ -25,12 +25,12 @@
<from>data.from</from>
<to>data.to</to>
<persons>data.persons</persons>
</arguments>
</parameters>
- <finalize output="result"> data.airline = result.value('id')
- data.costs += result.value('costs').to_f</finalize>
+ <finalize output="result">data.airline = result.value('id')
+data.costs += result.value('costs').to_f</finalize>
</call>
<parallel>
<loop mode="pre_test" condition="data.persons > 0">
<parallel_branch pass="data.persons" local="p">
<call id="a2" endpoint="bookHotel">
@@ -38,41 +38,41 @@
<method>:post</method>
<arguments>
<to>data.to</to>
</arguments>
</parameters>
- <finalize output="result"> data.hotels << result.value('id')
- data.costs += result.value('costs').to_f</finalize>
+ <finalize output="result">data.hotels << result.value('id')
+data.costs += result.value('costs').to_f</finalize>
</call>
</parallel_branch>
- <manipulate id="a3"> data.persons -= 1</manipulate>
+ <manipulate id="a3">data.persons -= 1</manipulate>
</loop>
<loop mode="pre_test" condition="data.persons > 0">
<parallel_branch pass="data.persons" local="p">
<call id="a4" endpoint="bookHotel">
<parameters>
<method>:post</method>
<arguments>
<to>data.to</to>
</arguments>
</parameters>
- <finalize output="result"> data.hotels << result.value('id')
- data.costs += result.value('costs').to_f</finalize>
+ <finalize output="result">data.hotels << result.value('id')
+data.costs += result.value('costs').to_f</finalize>
</call>
</parallel_branch>
<parallel_branch pass="data.persons" local="p">
<call id="a5" endpoint="bookHotel">
<parameters>
<method>:post</method>
<arguments>
<to>data.to</to>
</arguments>
</parameters>
- <finalize output="result"> data.hotels << result.value('id')
- data.costs += result.value('costs').to_f</finalize>
+ <finalize output="result">data.hotels << result.value('id')
+data.costs += result.value('costs').to_f</finalize>
</call>
</parallel_branch>
- <manipulate id="a6"> data.persons -= 1</manipulate>
+ <manipulate id="a6">data.persons -= 1</manipulate>
</loop>
</parallel>
<choose>
<alternative condition="data.costs > 700">
<call id="a7" endpoint="approve">