Fix cucumber.

master
jvoisin 5 years ago
parent c4b78828d7
commit 967c32b92f
  1. 2
      integration-test/src/test/java/org/airsonic/test/cucumber/steps/api/StreamStepDef.java

@ -43,7 +43,7 @@ public class StreamStepDef implements En {
public StreamStepDef(AirsonicServer server) { public StreamStepDef(AirsonicServer server) {
mapper.enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS); mapper.enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS);
this.client = HttpClientBuilder.create().build(); this.client = HttpClientBuilder.create().build();
Given("Media file {string} is added", (String streamName) -> { Given("Media file {word} is added", (String streamName) -> {
this.streamName = streamName; this.streamName = streamName;
server.uploadToDefaultMusicFolder( server.uploadToDefaultMusicFolder(
Paths.get(this.getClass().getResource("/blobs/stream/" + streamName + "/input").toURI()), Paths.get(this.getClass().getResource("/blobs/stream/" + streamName + "/input").toURI()),

Loading…
Cancel
Save