select id, name, value from table where id in (1, 2, 3, 4, 5)

This commit is contained in:
Stef Heyenrath
2022-11-30 18:53:50 +01:00
parent d5026e83b5
commit 88ff2a72db

View File

@@ -13,11 +13,12 @@ namespace WireMock.Net.Tests;
public partial class WireMockServerTests public partial class WireMockServerTests
{ {
[Fact] [Theory]
public async Task WireMockServer_WithParam_QueryParameterMultipleValueSupport_NoComma_Should_Ignore_Comma() [InlineData("SELECT id, value FROM table WHERE id = 1")]
[InlineData("select id, name, value from table where id in (1, 2, 3, 4, 5)")]
public async Task WireMockServer_WithParam_QueryParameterMultipleValueSupport_NoComma_Should_Ignore_Comma(string queryValue)
{ {
// Arrange // Arrange
var queryValue = "SELECT id, value FROM table WHERE id = 1";
var settings = new WireMockServerSettings var settings = new WireMockServerSettings
{ {
QueryParameterMultipleValueSupport = QueryParameterMultipleValueSupport.NoComma QueryParameterMultipleValueSupport = QueryParameterMultipleValueSupport.NoComma