I am using IntelliJ.
When i build and run with gradle, my all tests are success.
But if i change with IntelliJ IDEA, one test is fail.
The reason why one test fail, no constructor is not exist in response dto.
public class PathResponse {
private List<StationResponse> stations;
private int distance;
public PathResponse(List<StationResponse> stations, int distance) {
this.stations = stations;
this.distance = distance;
}
protected PathResponse() {} // <- if put this, no error with InterlliJ IDEA also.
Yes. i success the test with IntelliJ IDEA.
But i wonder why Gradle and IntelliJ IDEA test result is different.
Can someone tell me reason..???