jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Fix missing method for MethodSource
Date Sat, 10 Oct 2020 11:37:17 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c38947  Fix missing method for MethodSource
5c38947 is described below

commit 5c389479c8e7a505d8a7b09eb2221b1a36e8dd8a
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sat Oct 10 13:36:44 2020 +0200

    Fix missing method for MethodSource
---
 .../jmeter/protocol/http/util/TestGraphQLRequestParamUtils.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/util/TestGraphQLRequestParamUtils.java
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/util/TestGraphQLRequestParamUtils.java
index de738a7..8b614ec 100644
--- a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/util/TestGraphQLRequestParamUtils.java
+++ b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/util/TestGraphQLRequestParamUtils.java
@@ -86,8 +86,10 @@ public class TestGraphQLRequestParamUtils {
     }
 
     // null can't be used in a ValueSource directly, so we need to use a MethodSource
-    static Stream<String> invalidContentTypes = Stream.of("application/vnd.api+json",
"application/json-patch+json", "",
+    static Stream<String> invalidContentTypes() {
+        return Stream.of("application/vnd.api+json", "application/json-patch+json", "",
             null);
+    }
 
     @ParameterizedTest
     @MethodSource("invalidContentTypes")


Mime
View raw message