1
0
Fork 0
mirror of https://github.com/airsonic/airsonic.git synced 2025-10-03 17:59:25 +02:00

Fix cucumber.

This commit is contained in:
jvoisin 2019-07-03 22:20:56 +02:00
parent c4b78828d7
commit 967c32b92f

View file

@ -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()),