15 references to VerifyMaxLength
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (15)
MaxKeyLengthSchemaTest.cs (4)
76
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUsers", 256, "UserName", "Email", "NormalizedUserName", "NormalizedEmail"));
77
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetRoles", 256, "Name", "NormalizedName"));
78
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserLogins", 128, "LoginProvider", "ProviderKey"));
79
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserTokens", 128, "LoginProvider", "Name"));
SqlStoreOnlyUsersTestBase.cs (1)
97
DbUtil.
VerifyMaxLength
(dbContext, "AspNetUsers", 256, "UserName", "Email", "NormalizeUserName", "NormalizeEmail");
SqlStoreTestBase.cs (2)
144
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUsers", 256, "UserName", "Email", "NormalizedUserName", "NormalizedEmail"));
145
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetRoles", 256, "Name", "NormalizedName"));
VersionOneSchemaTest.cs (4)
62
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUsers", 256, "UserName", "Email", "NormalizedUserName", "NormalizedEmail"));
63
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetRoles", 256, "Name", "NormalizedName"));
64
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserLogins", 128, "LoginProvider", "ProviderKey"));
65
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserTokens", 128, "LoginProvider", "Name"));
VersionTwoSchemaTest.cs (4)
62
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUsers", 256, "UserName", "Email", "NormalizedUserName", "NormalizedEmail", "PhoneNumber"));
63
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetRoles", 256, "Name", "NormalizedName"));
64
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserLogins", 128, "LoginProvider", "ProviderKey"));
65
Assert.True(DbUtil.
VerifyMaxLength
(dbContext, "AspNetUserTokens", 128, "LoginProvider", "Name"));