mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-22 16:28:27 +02:00
[265] Add file upload to allow mocking of file operations (#266)
* [265] Add file upload to allow mocking of file operations * [265] Fix failing test * Update code + add tests * LocalFileSystemHandlerTests * 1.0.13 * Fixed the file post to create the mapping folder if none exists to begin with, otherwise the file upload fails with 404 (can't find the folder to upload to). * fix tests * add more tests for LocalFileSystemHandler * Added the head method for files to check if a file exists without returning it as a body. * Add a test and fix the response message (head requires no body). * Fix newline * Fix newline. * Fix the number of mapping tests * Update tests and update client-interface-api * Cleanup "MappingConverter.cs"
This commit is contained in:
committed by
Stef Heyenrath
parent
6c32b9c31a
commit
12444cc11e
@@ -77,7 +77,7 @@ namespace WireMock.Serialization
|
||||
},
|
||||
Response = new ResponseModel
|
||||
{
|
||||
Delay = (int?) response.Delay?.TotalMilliseconds
|
||||
Delay = (int?)response.Delay?.TotalMilliseconds
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user