diff --git a/installed-tests/suites/plugins/testSystemvolumePlugin.js b/installed-tests/suites/plugins/testSystemvolumePlugin.js index 22440c7c2..0ead146fe 100644 --- a/installed-tests/suites/plugins/testSystemvolumePlugin.js +++ b/installed-tests/suites/plugins/testSystemvolumePlugin.js @@ -48,6 +48,7 @@ describe('The systemvolume plugin', function () { }, }); testRig.setPaired(true); + testRig.setConnected(true); remoteDevice = testRig.remoteDevice; remoteDevice.handlePacket = handlePacket.bind(remoteDevice); @@ -70,14 +71,6 @@ describe('The systemvolume plugin', function () { expect(localPlugin).toBeDefined(); }); - it('sends streams when connected', function () { - spyOn(localPlugin, '_sendSinkList'); - - testRig.setConnected(true); - - expect(localPlugin._sendSinkList).toHaveBeenCalled(); - }); - it('sends a list of streams when requested', async function () { spyOn(remoteDevice, 'handlePacket').and.callThrough(); diff --git a/src/service/plugins/systemvolume.js b/src/service/plugins/systemvolume.js index 9db02d1df..f688d61a8 100644 --- a/src/service/plugins/systemvolume.js +++ b/src/service/plugins/systemvolume.js @@ -73,12 +73,6 @@ const SystemVolumePlugin = GObject.registerClass({ } } - connected() { - super.connected(); - - this._sendSinkList(); - } - /** * Handle a request to change an output *