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

Commit f6d9fce

Browse files
committed
Fix broken tests.
1 parent a3203dc commit f6d9fce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ static PullRequestModel CreatePullRequestModel(
577577
{
578578
var author = Substitute.For<IAccount>();
579579

580+
reviews = reviews ?? new IPullRequestReviewModel[0];
581+
580582
return new PullRequestModel(number, "PR 1", author, DateTimeOffset.Now)
581583
{
582584
State = PullRequestStateEnum.Open,

0 commit comments

Comments
 (0)