mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 11:24:44 +00:00
Fix broken lukewarm test
Synce we just return the task, this method is called immediately. That's fine for now. This unit test is just here to document the current behavior so we know when it changes. It changed!
This commit is contained in:
@@ -26,7 +26,8 @@ namespace Octokit.Tests.Reactive
|
||||
var gitHubClient = new GitHubClient(connection);
|
||||
var client = new ObservableRepositoriesClient(gitHubClient);
|
||||
var observable = client.Get("stark", "ned");
|
||||
connection.Received(0).GetAsync<Repository>(Args.Uri);
|
||||
|
||||
connection.Received(1).GetAsync<Repository>(Args.Uri, null, null);
|
||||
|
||||
var result = await observable;
|
||||
connection.Received(1).GetAsync<Repository>(Args.Uri, null, null);
|
||||
|
||||
Reference in New Issue
Block a user