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",