Skip to content

Commit 05aa969

Browse files
committed
chore: set InlineData to magic string "urn:etsy:shop_id" because only const strings could be used in attributes, not static readonly strings
1 parent c978f0c commit 05aa969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected internal override void RegisterAuthentication(AuthenticationBuilder bu
2525

2626
[Theory]
2727
[InlineData(ClaimTypes.NameIdentifier, "123456")]
28-
[InlineData("shop_id", "789012")]
28+
[InlineData("urn:etsy:shop_id", "789012")]
2929
public async Task Can_Sign_In_Using_Etsy(string claimType, string claimValue)
3030
=> await AuthenticateUserAndAssertClaimValue(claimType, claimValue);
3131

0 commit comments

Comments
 (0)