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
The problem seems to be in the LSStubRequest class in the individual matchesMethod:/matchesURL:/matchesHeaders:/matchesBody: methods.
Basically, request.method for AFNetworking is undefined, so the match will always fail. It needs to be [request method]. The same goes for the other items in the protocol:
request.url should be [request url]
request.headers should be [request headers]
request.body should be [reqeust body]
For some reason, it just is failing with using the dot notation.
The text was updated successfully, but these errors were encountered:
The problem seems to be in the LSStubRequest class in the individual matchesMethod:/matchesURL:/matchesHeaders:/matchesBody: methods.
Basically, request.method for AFNetworking is undefined, so the match will always fail. It needs to be [request method]. The same goes for the other items in the protocol:
For some reason, it just is failing with using the dot notation.
The text was updated successfully, but these errors were encountered: