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

Commit 713ea13

Browse files
* Add loggers to tests
1 parent c26d68b commit 713ea13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.AspNet.Mvc.Test/MvcOptionsSetupTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private static IServiceProvider GetServiceProvider(Action<IServiceCollection> ac
226226
{
227227
var serviceCollection = new ServiceCollection();
228228
serviceCollection.AddMvc();
229-
229+
serviceCollection.AddTransient<ILoggerFactory, LoggerFactory>();
230230
if (action != null)
231231
{
232232
action(serviceCollection);

0 commit comments

Comments
 (0)