forked from Silverfish/proton-bridge
GODT-2213: Don't unnecessarily enable/disable autostart
This commit is contained in:
committed by
Romain Le Jeune
parent
3499fbd758
commit
e4b81063cb
@ -194,6 +194,7 @@ func (t *testCtx) initFrontendService(eventCh <-chan events.Event) error {
|
||||
|
||||
// When starting the frontend, we might enable autostart on bridge if it isn't already.
|
||||
t.mocks.Autostarter.EXPECT().Enable().AnyTimes()
|
||||
t.mocks.Autostarter.EXPECT().IsEnabled().AnyTimes()
|
||||
|
||||
service, err := frontend.NewService(
|
||||
new(mockCrashHandler),
|
||||
|
||||
Reference in New Issue
Block a user