From 88ff2a72db12fb0e413423d06e2aa5f3e2d48601 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 30 Nov 2022 18:53:50 +0100 Subject: [PATCH] select id, name, value from table where id in (1, 2, 3, 4, 5) --- test/WireMock.Net.Tests/WireMockServerTests.WithParam.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/WireMock.Net.Tests/WireMockServerTests.WithParam.cs b/test/WireMock.Net.Tests/WireMockServerTests.WithParam.cs index 5ee42d85..f4d9fcf1 100644 --- a/test/WireMock.Net.Tests/WireMockServerTests.WithParam.cs +++ b/test/WireMock.Net.Tests/WireMockServerTests.WithParam.cs @@ -13,11 +13,12 @@ namespace WireMock.Net.Tests; public partial class WireMockServerTests { - [Fact] - public async Task WireMockServer_WithParam_QueryParameterMultipleValueSupport_NoComma_Should_Ignore_Comma() + [Theory] + [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 - var queryValue = "SELECT id, value FROM table WHERE id = 1"; var settings = new WireMockServerSettings { QueryParameterMultipleValueSupport = QueryParameterMultipleValueSupport.NoComma