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

Commit c40b757

Browse files
Merge branch 'autocompletebox-fix' into autocompletebox-implementation
2 parents b228f02 + 4e9a6dd commit c40b757

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

test/GitHub.App.UnitTests/ViewModels/Dialog/Clone/RepositorySelectViewModelTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static IRepositoryCloneService CreateRepositoryCloneService(
113113

114114
var viewRepositoriesModel = CreateViewerRepositoriesModel(contributedToRepositories: contributedToRepositories);
115115
var repositoryCloneService = Substitute.For<IRepositoryCloneService>();
116-
repositoryCloneService.ReadViewerRepositories(hostAddress).Returns(viewRepositoriesModel);
116+
repositoryCloneService.ReadViewerRepositories(hostAddress, Arg.Any<bool>()).Returns(viewRepositoriesModel);
117117
return repositoryCloneService;
118118
}
119119

test/GitHub.App.UnitTests/ViewModels/GitHubPane/IssueListViewModelBaseTests.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.Globalization;
34
using System.Linq;
5+
using System.Reactive;
46
using System.Reactive.Linq;
7+
using System.Reactive.Subjects;
8+
using System.Reactive.Threading.Tasks;
59
using System.Threading.Tasks;
10+
using GitHub;
611
using GitHub.Collections;
712
using GitHub.Models;
813
using GitHub.Primitives;
@@ -172,12 +177,8 @@ public Target(IRepositoryService repositoryService, int itemCount)
172177

173178
public override IReadOnlyList<string> States { get; } = new[] { "Open", "Closed" };
174179

175-
protected IVirtualizingListSource<IIssueListItemViewModelBase> CreateItemSource() => ItemSource;
176-
177180
protected override Task<IVirtualizingListSource<IIssueListItemViewModelBase>> CreateItemSource(bool refresh)
178-
{
179-
throw new NotImplementedException();
180-
}
181+
=> Task.FromResult(ItemSource);
181182

182183
protected override Task DoOpenItem(IIssueListItemViewModelBase item)
183184
{

0 commit comments

Comments
 (0)