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 <[email protected]>
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")