Skip to content

Commit 6c4bcb8

Browse files
Update src/WebExpress.WebCore.Test/Data/MockIdentityFactory.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3fcf824 commit 6c4bcb8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/WebExpress.WebCore.Test/Data/MockIdentityFactory.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ private static IEnumerable<MockIdentityGroup> CreateTestGroups()
5959
/// <returns>A list of identities.</returns>
6060
private static IEnumerable<MockIdentity> CreateTestUsers()
6161
{
62-
var passwort = new SecureString();
63-
passwort.AppendChar('a');
64-
passwort.AppendChar('b');
65-
passwort.AppendChar('c');
66-
passwort.MakeReadOnly();
62+
var password = new SecureString();
63+
password.AppendChar('a');
64+
password.AppendChar('b');
65+
password.AppendChar('c');
66+
password.MakeReadOnly();
6767

68-
var user = new MockIdentity(Guid.NewGuid(), "Alice", "alice@example.com", IdentityManager.ComputeHash(passwort));
68+
var user = new MockIdentity(Guid.NewGuid(), "Alice", "alice@example.com", IdentityManager.ComputeHash(password));
6969
user.Assign([_groups.ElementAt(0)]);
7070

7171
yield return user;
7272

73-
user = new MockIdentity(Guid.NewGuid(), "Bob", "bob@example.com", IdentityManager.ComputeHash(passwort));
73+
user = new MockIdentity(Guid.NewGuid(), "Bob", "bob@example.com", IdentityManager.ComputeHash(password));
7474
user.Assign([_groups.ElementAt(1)]);
7575

7676
yield return user;
7777

78-
user = new MockIdentity(Guid.NewGuid(), "Charlie", "charlie@example.com", IdentityManager.ComputeHash(passwort));
78+
user = new MockIdentity(Guid.NewGuid(), "Charlie", "charlie@example.com", IdentityManager.ComputeHash(password));
7979
user.Assign([_groups.ElementAt(2)]);
8080

8181
yield return user;

0 commit comments

Comments
 (0)