Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Commit fa310e7

Browse files
committed
Improved github dirty service implementation
1 parent 6a098fe commit fa310e7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/Quarrel.Testing.DirtyServices/APIs/DirtyGitHubService.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@ namespace Quarrel.Testing.DirtyServices.APIs
1414
public class DirtyGitHubService : IGitHubService
1515
{
1616
/// <inheritdoc/>
17-
public async Task<List<BindableContributor>?> GetContributors()
17+
public Task<List<BindableContributor>?> GetContributors()
1818
{
19-
await Task.Run(() => {});
20-
return null;
19+
return Task.FromResult<List<BindableContributor>?>(null);
2120
}
2221

2322
/// <inheritdoc/>
24-
public async Task<BindableDeveloper?> GetDeveloper(Contributor contributor)
23+
public Task<BindableDeveloper?> GetDeveloper(Contributor contributor)
2524
{
26-
await Task.Run(() => {});
27-
return null;
25+
return Task.FromResult<BindableDeveloper?>(null);
2826
}
2927
}
3028
}

0 commit comments

Comments
 (0)