Skip to content

Commit a792d10

Browse files
committed
test: remove obsolete test as DetailedUserInfoEndpoint is now not longer nullable
1 parent ca66caf commit a792d10

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/AspNet.Security.OAuth.Providers.Tests/Etsy/EtsyAuthenticationOptionsTests.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,6 @@ public static void Validate_Throws_If_UserInformationEndpoint_Is_Null()
6969
_ = Assert.Throws<ArgumentNullException>(nameof(options.UserInformationEndpoint), options.Validate);
7070
}
7171

72-
[Fact]
73-
public static void Validate_Dont_Throws_If_DetailedUserInformationEndpoint_Is_Null()
74-
{
75-
// Arrange
76-
var options = new EtsyAuthenticationOptions()
77-
{
78-
ClientId = "my-client-id",
79-
ClientSecret = "my-client-secret",
80-
DetailedUserInfoEndpoint = null!,
81-
};
82-
83-
// Act (no Assert)
84-
options.Validate();
85-
}
86-
8772
[Fact]
8873
public static void Validate_Throws_If_CallbackPath_Is_Null()
8974
{

0 commit comments

Comments
 (0)