mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
GODT-1978: Auto-updates
This commit is contained in:
@ -214,7 +214,7 @@ func (s *scenario) bridgeSendsAnUpdateAvailableEventForVersion(version string) e
|
||||
return errors.New("expected update available event, got none")
|
||||
}
|
||||
|
||||
if !event.CanInstall {
|
||||
if !event.Compatible {
|
||||
return errors.New("expected update event to be installable")
|
||||
}
|
||||
|
||||
@ -231,7 +231,7 @@ func (s *scenario) bridgeSendsAManualUpdateEventForVersion(version string) error
|
||||
return errors.New("expected update available event, got none")
|
||||
}
|
||||
|
||||
if event.CanInstall {
|
||||
if event.Compatible {
|
||||
return errors.New("expected update event to not be installable")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user