You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thanks for this package, its working fine and helped me upgrading old soap-wrapper package.
However, I'm having problems writting tests, I'm not sure how mock requests or fake SoapClient to avoid issuing real requests.
Is it possible?
Thanks!
The text was updated successfully, but these errors were encountered:
It is, but nothing quite easily out of the box of the package. So that is something we can mark for some enhancements to introduce some helpful tricks. The benefit of Soapy (if using class based mapping) is the output of Soapy is a regular ole class. So you could mock the calling code that emits the Soap call and just return the mapped class.
Since Soapy at end of day just extends the base /SoapClient - it would take some enhancements to the package (Possibly introducing our own fake soap client to easily test) to allow the Laravel style of just like calling fake() and passing some parameters.
Hi,
Thanks for this package, its working fine and helped me upgrading old soap-wrapper package.
However, I'm having problems writting tests, I'm not sure how mock requests or fake SoapClient to avoid issuing real requests.
Is it possible?
Thanks!
The text was updated successfully, but these errors were encountered: