Skip to content

Commit f1eeb99

Browse files
committed
Fixed parameters formatting
1 parent 758301b commit f1eeb99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/MyTested.AspNetCore.Mvc.Authentication.Test/BuildersTests/ViewComponentsTests/ViewComponentBuilderTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ public void WithAuthenticatedUserShouldPopulateUserNameAndRoleProperly()
9292
{
9393
MyViewComponent<UserComponent>
9494
.Instance()
95-
.WithUser("NewUserName",
96-
new List<string>
95+
.WithUser("NewUserName", new List<string>
9796
{
9897
"Administrator"
9998
})
@@ -118,8 +117,7 @@ public void WithAuthenticatedUserShouldPopulateIdAndUserNameAndRoleProperly()
118117
{
119118
MyViewComponent<UserComponent>
120119
.Instance()
121-
.WithUser("IdentityIdentifier", "NewUserName",
122-
new List<string>
120+
.WithUser("IdentityIdentifier", "NewUserName", new List<string>
123121
{
124122
"Administrator"
125123
})

0 commit comments

Comments
 (0)