Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit 3aa6d73

Browse files
author
Nate McMaster
committed
Fix broken test caused by logging change aspnet/Logging#480
1 parent ece8f33 commit 3aa6d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ControllerActionInvokerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2739,7 +2739,7 @@ public async Task Invoke_Success_LogsCorrectValues()
27392739

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

0 commit comments

Comments
 (0)