Skip to content

Commit

Permalink
Updated methods (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll authored Jul 18, 2020
1 parent c41e92f commit cfaefbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Testing.FakeItEasy/AutoFakeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private IContainer ConfigureContainer(IContainer container)
container.RegisterInstance(LoggerFactory);
container.RegisterInstance(Logger);
container.RegisterInstance(SerilogLogger);
return BuildContainer(container).WithDependencyInjectionAdapter();
return BuildContainer(container.WithDependencyInjectionAdapter());
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Testing.Moq/AutoMockTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private IContainer ConfigureContainer(IContainer container)
container.RegisterInstance(LoggerFactory);
container.RegisterInstance(Logger);
container.RegisterInstance(SerilogLogger);
return BuildContainer(container).WithDependencyInjectionAdapter();
return BuildContainer(container.WithDependencyInjectionAdapter());
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Testing.NSubstitute/AutoSubstituteTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private IContainer ConfigureContainer(IContainer container)
container.RegisterInstance(LoggerFactory);
container.RegisterInstance(Logger);
container.RegisterInstance(SerilogLogger);
return BuildContainer(container).WithDependencyInjectionAdapter();
return BuildContainer(container.WithDependencyInjectionAdapter());
}
}
}

0 comments on commit cfaefbb

Please sign in to comment.