Skip failing identity tests (#7932)

This commit is contained in:
Hao Kung 2019-02-25 19:08:35 -08:00 committed by GitHub
parent 87f4ca7299
commit e8be9c2d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test
}
}
[ConditionalFact]
[ConditionalFact(Skip = "https://github.com/aspnet/AspNetCore/issues/7925")]
[FrameworkSkipCondition(RuntimeFrameworks.Mono)]
[OSSkipCondition(OperatingSystems.Linux)]
[OSSkipCondition(OperatingSystems.MacOSX)]

View File

@ -137,10 +137,12 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test
{
if (reader.Read())
{
Assert.Equal("Default:ink", reader.GetString(0));
return reader.GetString(0) == "Default:ink";
}
}
}
Assert.False(true, "Didn't find user");
return false;
}
@ -157,6 +159,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test
{
if (reader.Read())
{
Assert.Equal("Default:ink", reader.GetString(0));
return reader.GetString(0) == "Default:ink";
}
}
@ -168,7 +171,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test
/// Test.
/// </summary>
/// <returns>Task</returns>
[Theory]
[Theory(Skip = "https://github.com/aspnet/AspNetCore/issues/7925")]
[InlineData(true)]
[InlineData(false)]
public async Task CustomPersonalDataPropertiesAreProtected(bool protect)