2 instantiations of User
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
Validation\ValidatableTypeInfoTests.cs (2)
394
var user = new
User
{ Password = "abc" }; // Too short and not complex enough
484
var user = new
User
{ Password = null }; // Invalid: required
8 references to User
Microsoft.AspNetCore.Http.Abstractions.Tests (8)
Validation\ValidatableTypeInfoTests.cs (8)
376
typeof(
User
),
378
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
390
{ typeof(
User
), userType }
394
var
user = new User { Password = "abc" }; // Too short and not complex enough
470
typeof(
User
),
472
CreatePropertyInfo(typeof(
User
), typeof(string), "Password", "Password",
480
{ typeof(
User
), userType }
484
var
user = new User { Password = null }; // Invalid: required