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

Commit

Permalink
Improved github dirty service implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Avid29 committed Apr 22, 2022
1 parent 6a098fe commit fa310e7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/Quarrel.Testing.DirtyServices/APIs/DirtyGitHubService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ namespace Quarrel.Testing.DirtyServices.APIs
public class DirtyGitHubService : IGitHubService
{
/// <inheritdoc/>
public async Task<List<BindableContributor>?> GetContributors()
public Task<List<BindableContributor>?> GetContributors()
{
await Task.Run(() => {});
return null;
return Task.FromResult<List<BindableContributor>?>(null);
}

/// <inheritdoc/>
public async Task<BindableDeveloper?> GetDeveloper(Contributor contributor)
public Task<BindableDeveloper?> GetDeveloper(Contributor contributor)
{
await Task.Run(() => {});
return null;
return Task.FromResult<BindableDeveloper?>(null);
}
}
}

0 comments on commit fa310e7

Please sign in to comment.