mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-28 19:22:48 +01:00
GET "/__admin/mappings"
This commit is contained in:
1 parent
45aa83ee91
commit
3f84ba8b20
44 files changed
+805
-302
No files matched your search
@@ -12,12 +12,10 @@ namespace WireMock.Net.Tests
|
||||
public void Should_handle_empty_query()
|
||||
{
|
||||
// given
|
||||
string bodyAsString = "whatever";
|
||||
byte[] body = Encoding.UTF8.GetBytes(bodyAsString);
|
||||
var request = new RequestMessage(new Uri("http://localhost/foo"), "POST", body, bodyAsString);
|
||||
var request = new RequestMessage(new Uri("http://localhost/foo"), "POST");
|
||||
|
||||
// then
|
||||
Check.That(request.GetParameter("foo")).IsEmpty();
|
||||
Check.That(request.GetParameter("not_there")).IsNull();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user