Cover remote setup handoff
This commit is contained in:
@@ -6059,6 +6059,12 @@ func TestUIRemoteSyncSetupPersistsBindingAfterSuccessfulPush(t *testing.T) {
|
||||
if got := u.state.StatusMessage; got != "Remote sync is set up for this vault." {
|
||||
t.Fatalf("StatusMessage = %q, want setup success message", got)
|
||||
}
|
||||
if u.shouldShowRemoteSyncSetupShortcut() {
|
||||
t.Fatal("shouldShowRemoteSyncSetupShortcut() = true after setup, want false")
|
||||
}
|
||||
if !u.shouldShowDirectRemoteSyncShortcut() {
|
||||
t.Fatal("shouldShowDirectRemoteSyncShortcut() = false after setup, want true")
|
||||
}
|
||||
|
||||
var reopened session.Manager
|
||||
if err := reopened.Open(currentPath, key); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user