t/server.t fails on my smokers if it not skipped (i.e. Mojolicious::Plugin::SOAP::Server is available). It looks like the is() needs to be replaced by a like() or so.
# Failed test 'Check SOAP Exception'
# at t/server.t line 67.
# got: '/SOAP - 401 Unauthorized
#
# Request:
#
# Content-Length: 289
# Content-Type: text/xml; charset=UTF-8
# X-Mojolicious-Version: 8.60
# X-XML-Compile-Cache-Version: 1.06
# X-XML-Compile-SOAP-Version: 3.26
# X-XML-Compile-Version: 1.63
# X-XML-LibXML-Version: 2.0204
#
# <?xml version="1.0" encoding="UTF-8"?>
# <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
# <SOAP-ENV:Body>
# <tns:getNamesInCountry xmlns:tns="http://namesservice.thomas_bayer.com/">
# <country>Lock</country>
# </tns:getNamesInCountry>
# </SOAP-ENV:Body>
# </SOAP-ENV:Envelope>
#
# Response:
#
# Date: Thu, 15 Oct 2020 10:32:46 GMT
# Server: Mojolicious (Perl)
# Content-Length: 263
# Content-Type: text/xml; charset="utf-8"
#
# <?xml version="1.0" encoding="UTF-8"?>
# <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
# <SOAP-ENV:Body>
# <tns:getNamesInCountryResponse xmlns:tns="http://namesservice.thomas_bayer.com/"/>
# </SOAP-ENV:Body>
# </SOAP-ENV:Envelope>
#
# Call initiated at: Thu Oct 15 10:32:46 2020
# SOAP call timing:
# encoding: 0.13 ms
# stringify: 0.00 ms
# connection: 0.00 ms
# parsing: 0.00 ms
# decoding: 961.08 ms
# total time: 4.74 ms = 0.005 seconds
#
# '
# expected: '/SOAP - 401 Unauthorized'
# Looks like you failed 1 test of 6.
t/server.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
t/server.t fails on my smokers if it not skipped (i.e. Mojolicious::Plugin::SOAP::Server is available). It looks like the
is()
needs to be replaced by alike()
or so.