mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Inlines fixtures instantiation.
This commit is contained in:
1 parent
b648e2f054
commit
59e16d645a
147 files changed
+190
-898
No files matched your search
+1
-9
@@ -20,17 +20,9 @@ namespace Lumina.Domain.Fixtures.Core.BoundedContexts.LibraryManagementBoundedCo
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class LibraryFixture
|
||||
{
|
||||
private readonly Faker _faker;
|
||||
private readonly Faker _faker = new();
|
||||
private readonly Random _random = new();
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LibraryFixture"/> class.
|
||||
/// </summary>
|
||||
public LibraryFixture()
|
||||
{
|
||||
_faker = new Faker();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a random valid <see cref="Library"/> domain aggregate.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user