WeTransfer/Mocker

The "Empty Responses" example doesn't work: No exact matches in call to initializer

Closed this issue · 2 comments

I'm trying to mock empty responses according to the example provided in the readme file, but it seems the code snippet is not compatible with the latest version (3.0.1) of the framework. There is a line:

let mock = Mock(request: request, statusCode: 204)

which prevents Xcode from building the app, as there is no such initializer on the Mock structure: No exact matches in call to initializer

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.

Opening a new issue, as the problem is still present: #147