Temporarily fix build break related to XmlSerailizer tests failing in Core CLR.
This commit is contained in:
parent
8ed522de64
commit
f474f7116a
|
|
@ -20,7 +20,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
|||
private readonly Action<IApplicationBuilder> _app = new XmlFormattersWebSite.Startup().Configure;
|
||||
|
||||
[Theory]
|
||||
#if !ASPNETCORE50
|
||||
[InlineData("application/xml-xmlser")]
|
||||
#endif
|
||||
[InlineData("application/xml-dcs")]
|
||||
public async Task ModelStateErrors_AreSerialized(string acceptHeader)
|
||||
{
|
||||
|
|
@ -43,7 +45,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
|||
}
|
||||
|
||||
[Theory]
|
||||
#if !ASPNETCORE50
|
||||
[InlineData("application/xml-xmlser")]
|
||||
#endif
|
||||
[InlineData("application/xml-dcs")]
|
||||
public async Task PostedSerializableError_IsBound(string acceptHeader)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
|||
result);
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
[Fact]
|
||||
public async Task CanWrite_IEnumerableOf_SerializableErrors()
|
||||
{
|
||||
|
|
@ -199,5 +200,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
|||
"<key4>key2-error</key4></SerializableErrorWrapper></ArrayOfSerializableErrorWrapper>",
|
||||
result);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue