Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Commit 4e703fc

Browse files
committed
Update Moq to 4.7.63
1 parent c2591cd commit 4e703fc

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

build/dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<JetBrainsVersion>10.3.0</JetBrainsVersion>
88
<JsonNetVersion>9.0.1</JsonNetVersion>
99
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
10-
<MoqVersion>4.7.8</MoqVersion>
10+
<MoqVersion>4.7.63</MoqVersion>
1111
<OwinVersion>3.0.1</OwinVersion>
1212
<RuntimeFrameworkVersion>1.0.0</RuntimeFrameworkVersion>
1313
<TestSdkVersion>15.0.0</TestSdkVersion>

test/AspNet.Security.OAuth.Introspection.Tests/OAuthIntrospectionHandlerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,11 @@ public async Task HandleUnauthorizedAsync_ErrorDetailsAreResolvedFromChallengeCo
602602
options.Events.OnApplyChallenge = context =>
603603
{
604604
// Assert
605-
Assert.Equal(context.Error, "custom_error");
606-
Assert.Equal(context.ErrorDescription, "custom_error_description");
607-
Assert.Equal(context.ErrorUri, "custom_error_uri");
608-
Assert.Equal(context.Realm, "custom_realm");
609-
Assert.Equal(context.Scope, "custom_scope");
605+
Assert.Equal("custom_error", context.Error);
606+
Assert.Equal("custom_error_description", context.ErrorDescription);
607+
Assert.Equal("custom_error_uri", context.ErrorUri);
608+
Assert.Equal("custom_realm", context.Realm);
609+
Assert.Equal("custom_scope", context.Scope);
610610

611611
return Task.FromResult(0);
612612
};

test/AspNet.Security.OAuth.Validation.Tests/OAuthValidationHandlerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,11 @@ public async Task HandleUnauthorizedAsync_ErrorDetailsAreResolvedFromChallengeCo
535535
options.Events.OnApplyChallenge = context =>
536536
{
537537
// Assert
538-
Assert.Equal(context.Error, "custom_error");
539-
Assert.Equal(context.ErrorDescription, "custom_error_description");
540-
Assert.Equal(context.ErrorUri, "custom_error_uri");
541-
Assert.Equal(context.Realm, "custom_realm");
542-
Assert.Equal(context.Scope, "custom_scope");
538+
Assert.Equal("custom_error", context.Error);
539+
Assert.Equal("custom_error_description", context.ErrorDescription);
540+
Assert.Equal("custom_error_uri", context.ErrorUri);
541+
Assert.Equal("custom_realm", context.Realm);
542+
Assert.Equal("custom_scope", context.Scope);
543543

544544
return Task.FromResult(0);
545545
};

test/Owin.Security.OAuth.Introspection.Tests/OAuthIntrospectionHandlerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,11 @@ public async Task HandleUnauthorizedAsync_ErrorDetailsAreResolvedFromChallengeCo
584584
options.Events.OnApplyChallenge = context =>
585585
{
586586
// Assert
587-
Assert.Equal(context.Error, "custom_error");
588-
Assert.Equal(context.ErrorDescription, "custom_error_description");
589-
Assert.Equal(context.ErrorUri, "custom_error_uri");
590-
Assert.Equal(context.Realm, "custom_realm");
591-
Assert.Equal(context.Scope, "custom_scope");
587+
Assert.Equal("custom_error", context.Error);
588+
Assert.Equal("custom_error_description", context.ErrorDescription);
589+
Assert.Equal("custom_error_uri", context.ErrorUri);
590+
Assert.Equal("custom_realm", context.Realm);
591+
Assert.Equal("custom_scope", context.Scope);
592592

593593
return Task.FromResult(0);
594594
};

test/Owin.Security.OAuth.Validation.Tests/OAuthValidationHandlerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,11 @@ public async Task HandleUnauthorizedAsync_ErrorDetailsAreResolvedFromChallengeCo
519519
options.Events.OnApplyChallenge = context =>
520520
{
521521
// Assert
522-
Assert.Equal(context.Error, "custom_error");
523-
Assert.Equal(context.ErrorDescription, "custom_error_description");
524-
Assert.Equal(context.ErrorUri, "custom_error_uri");
525-
Assert.Equal(context.Realm, "custom_realm");
526-
Assert.Equal(context.Scope, "custom_scope");
522+
Assert.Equal("custom_error", context.Error);
523+
Assert.Equal("custom_error_description", context.ErrorDescription);
524+
Assert.Equal("custom_error_uri", context.ErrorUri);
525+
Assert.Equal("custom_realm", context.Realm);
526+
Assert.Equal("custom_scope", context.Scope);
527527

528528
return Task.FromResult(0);
529529
};

0 commit comments

Comments
 (0)