Skip to content

Commit

Permalink
Razor unit test fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed May 17, 2021
1 parent 427111a commit c09700c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/extensions/Statiq.Razor.Tests/RenderRazorFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ private TestExecutionContext GetExecutionContext()
FileSystem = GetFileSystem(),
};
context.Services.AddSingleton<IReadOnlyFileSystem>(context.FileSystem);
context.Services.AddSingleton<INamespacesCollection>(context.Namespaces);
context.Services.AddRazor();
new RazorEngineInitializer().Initialize(context.Engine);
return context;
Expand Down

0 comments on commit c09700c

Please sign in to comment.