mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
GODT-1815: Start without internet, load users later
This commit is contained in:
@ -35,12 +35,12 @@ func (s *scenario) itFailsWithError(wantErr string) error {
|
||||
}
|
||||
|
||||
func (s *scenario) internetIsTurnedOff() error {
|
||||
s.t.mocks.TLSDialer.SetCanDial(false)
|
||||
s.t.dialer.SetCanDial(false)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *scenario) internetIsTurnedOn() error {
|
||||
s.t.mocks.TLSDialer.SetCanDial(true)
|
||||
s.t.dialer.SetCanDial(true)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user