React to HttpRequestIdentifierFeature default change.

This commit is contained in:
Chris R 2015-10-16 10:15:56 -07:00
parent 9a3888e4f8
commit b144f5fd7c
1 changed files with 2 additions and 2 deletions

View File

@ -274,9 +274,9 @@ namespace Microsoft.AspNet.Diagnostics.Tests
} }
[Theory] [Theory]
[InlineData(null)]
[InlineData("")] [InlineData("")]
public async Task UpdatesTraceIdentifier_IfNullOrEmpty(string requestId) // Note that HttpRequestIdentifierFeature now provides a default TraceIdentifier and will never return null.
public async Task UpdatesTraceIdentifier_IfEmpty(string requestId)
{ {
var context = new DefaultHttpContext(); var context = new DefaultHttpContext();
var requestIdentifierFeature = new HttpRequestIdentifierFeature() { TraceIdentifier = requestId }; var requestIdentifierFeature = new HttpRequestIdentifierFeature() { TraceIdentifier = requestId };