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

Commit 6ee9a4b

Browse files
committed
Fix ClonesToRepositoryPathAsync test
1 parent d47c785 commit 6ee9a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/GitHub.App.UnitTests/Services/RepositoryCloneServiceTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task ClonesToRepositoryPathAsync()
2121
var vsGitServices = serviceProvider.GetVSGitServices();
2222
var cloneService = serviceProvider.GetRepositoryCloneService();
2323

24-
await cloneService.CloneRepository("https://github.com/foo/bar", "bar", @"c:\dev");
24+
await cloneService.CloneRepository("https://github.com/foo/bar", @"c:\dev\bar");
2525

2626
operatingSystem.Directory.Received().CreateDirectory(@"c:\dev\bar");
2727
await vsGitServices.Received().Clone("https://github.com/foo/bar", @"c:\dev\bar", true);
@@ -41,7 +41,7 @@ public async Task UpdatesMetricsWhenRepositoryClonedAsync()
4141
var model = UsageModel.Create(Guid.NewGuid());
4242

4343
await usageTracker.Received().IncrementCounter(
44-
Arg.Is<Expression<Func<UsageModel.MeasuresModel, int>>>(x =>
44+
Arg.Is<Expression<Func<UsageModel.MeasuresModel, int>>>(x =>
4545
((MemberExpression)x.Body).Member.Name == nameof(model.Measures.NumberOfClones)));
4646
}
4747
}

0 commit comments

Comments
 (0)