Fix broken test caused by logging change aspnet/Logging#480

This commit is contained in:
Nate McMaster 2016-08-26 10:59:30 -07:00
parent ece8f33a65
commit 3aa6d739ce
No known key found for this signature in database
GPG Key ID: BD729980AA6A21BD
1 changed files with 1 additions and 1 deletions

View File

@ -2739,7 +2739,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
Assert.Equal(4, sink.Writes.Count);
Assert.Equal($"Executing action {displayName}", sink.Writes[0].State?.ToString());
Assert.Equal($"Executing action method {displayName} with arguments () - ModelState is Valid", sink.Writes[1].State?.ToString());
Assert.Equal($"Executing action method {displayName} with arguments ((null)) - ModelState is Valid", sink.Writes[1].State?.ToString());
Assert.Equal($"Executed action method {displayName}, returned result Microsoft.AspNetCore.Mvc.ContentResult.", sink.Writes[2].State?.ToString());
// This message has the execution time embedded, which we don't want to verify.
Assert.StartsWith($"Executed action {displayName} ", sink.Writes[3].State?.ToString());