Adds a missing ToList() in assert code.
This commit is contained in:
parent
4b5d6903ea
commit
fc1dbbbcfd
|
|
@ -335,7 +335,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
|||
}
|
||||
});
|
||||
|
||||
Assert.True(logProvider.Logger.Messages.Any(m =>
|
||||
Assert.True(logProvider.Logger.Messages.ToList().Any(m =>
|
||||
m.StartsWith(StringsHelpers.GetResourceString("FormatDatabaseErrorPageMiddleware_ContextNotRegistered", typeof(BloggingContext)))));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue