mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
fixed broken convention test
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Octokit.Tests.Reactive
|
||||
{
|
||||
var firstResponse = new TwoFactorRequiredException(TwoFactorType.AuthenticatorApp);
|
||||
var twoFactorChallengeResult = new TwoFactorChallengeResult("two-factor-code");
|
||||
var secondResponse = new ApplicationAuthorization { Token = "OAUTHSECRET" };
|
||||
var secondResponse = new ApplicationAuthorization("OAUTHSECRET");
|
||||
|
||||
var client = Substitute.For<IObservableAuthorizationsClient>();
|
||||
client.GetOrCreateApplicationAuthentication(Args.String, Args.String, Args.NewAuthorization)
|
||||
@@ -51,7 +51,7 @@ namespace Octokit.Tests.Reactive
|
||||
TwoFactorChallengeResult.RequestResendCode,
|
||||
new TwoFactorChallengeResult("two-factor-code")
|
||||
});
|
||||
var secondResponse = new ApplicationAuthorization { Token = "OAUTHSECRET" };
|
||||
var secondResponse = new ApplicationAuthorization("OAUTHSECRET");
|
||||
|
||||
var client = Substitute.For<IObservableAuthorizationsClient>();
|
||||
client.GetOrCreateApplicationAuthentication(Args.String, Args.String, Args.NewAuthorization)
|
||||
|
||||
Reference in New Issue
Block a user