Ran
|
Files
15
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/vpulim/node-soap/commit/<a class=hub.com/vpulim/node-soap/commit/94a8b54e6982b707594475874325a8f1ef0446c9">94a8b54e6<a href="https://github.com/vpulim/node-soap/commit/94a8b54e6982b707594475874325a8f1ef0446c9">">Add test for accepting array as parameter based on wsdl (#933) v. 0.19.0 broke giving array as a parameter. It would now accept the &quot;array&quot; with invalid syntax like this: {input: {PeriodList: {&quot;PeriodType[]&quot;: {PeriodId: &#39;1&#39;}}}} i.e. it wants the &quot;[]&quot; as the parameter name and it does not accept an array, but an object. The invalid syntax then prints invalid XML like this: &quot;&lt;PeriodList&gt;&lt;PeriodType[]&gt;&lt;PeriodId&gt;1&lt;/PeriodId&gt;&lt;/PeriodType[]&gt;&lt;/PeriodList>" This test shows old and correct syntax. This test passes if you revert commit </a><a class="double-link" href="https://github.com/vpulim/node-soap/commit/<a class="double-link" href="https://github.com/vpulim/node-soap/commit/5dbcb1d715843310c799419f260e0962722cd2fb">5dbcb1d71</a>">5dbcb1d71</a><a href="https://github.com/vpulim/node-soap/commit/94a8b54e6982b707594475874325a8f1ef0446c9"> or disable if statement mentioned in https://github.com/vpulim/node-soap/pull/914#pullrequestreview-40039598
1114 of 1297 branches covered (85.89%)
1875 of 2012 relevant lines covered (93.19%)
1824.86 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|