Simplify creation of RequestInput in tests
Introduce a TestRequestInput subclass to make the creation of RequestInput in tests convenient. See gh-310
This commit is contained in:
@@ -70,7 +70,7 @@ class GraphQlTesterRequestSpecSupport {
|
||||
}
|
||||
|
||||
protected RequestInput createRequestInput() {
|
||||
return new RequestInput(this.query, this.operationName, this.variables, this.locale, idGenerator.generateId().toString());
|
||||
return new RequestInput(this.query, this.operationName, this.variables, idGenerator.generateId().toString(), this.locale);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user