Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit b0ff058

Browse files
committed
Fix failing test.
1 parent b2a8295 commit b0ff058

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/UnitTests/GitHub.App/ViewModels/LoginControlViewModelTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ public void LoginModeTracksAvailableConnections()
9696
connectionManager.Connections.Returns(connections);
9797
gitHubConnection.HostAddress.Returns(HostAddress.GitHubDotComHostAddress);
9898
enterpriseConnection.HostAddress.Returns(HostAddress.Create("https://enterprise.url"));
99+
gitHubConnection.IsLoggedIn.Returns(true);
100+
enterpriseConnection.IsLoggedIn.Returns(true);
99101

100102
var loginViewModel = new LoginControlViewModel(connectionManager, gitHubLogin, enterpriseLogin);
101103

0 commit comments

Comments
 (0)