From c8cab05158fbd34083835f0209437a0bc6327c29 Mon Sep 17 00:00:00 2001 From: Valentin Michalak Date: Wed, 1 Nov 2017 16:48:40 +0100 Subject: [PATCH] Correct Unit Test (and the C.I. sorry) --- .../java/com/vmichalak/sonoscontroller/SonosDeviceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/vmichalak/sonoscontroller/SonosDeviceTest.java b/src/test/java/com/vmichalak/sonoscontroller/SonosDeviceTest.java index 161fba2..d7dd240 100644 --- a/src/test/java/com/vmichalak/sonoscontroller/SonosDeviceTest.java +++ b/src/test/java/com/vmichalak/sonoscontroller/SonosDeviceTest.java @@ -493,7 +493,7 @@ public void getCurrentTrackInfo() throws Exception { "2147483647"; MockHelper.mockCommandBuilder(response); SonosDevice sonosDevice = new SonosDevice("127.0.0.1"); - assertEquals(1, sonosDevice.getCurrentTrackInfo().getPlaylistPosition()); + assertEquals(1, sonosDevice.getCurrentTrackInfo().getQueueIndex()); assertEquals("0:03:21", sonosDevice.getCurrentTrackInfo().getDuration()); assertEquals("0:00:17", sonosDevice.getCurrentTrackInfo().getPosition()); assertEquals("x-sonos-spotify:spotify%3atrack%3a2UAUITgVFXb27TV58EWE6L?sid=9&flags=0&sn=3",