mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
Refactors the test fixtures and their consumers to compose other fixtures instead of instantiating models inline
This commit is contained in:
1 parent
0abda472c6
commit
3aadd6de84
157 files changed
+1312
-597
No files matched your search
+9
-2
@@ -5,10 +5,17 @@ using System.Diagnostics.CodeAnalysis;
|
||||
namespace Lumina.Infrastructure.Fixtures.Common.Validation;
|
||||
|
||||
/// <summary>
|
||||
/// Test-support placeholder class for validation options tests.
|
||||
/// Test-support placeholder options type used as the validated options in validation options tests.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class ValidationOptionsFixture
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="ValidationOptionsFixture"/> instance.
|
||||
/// </summary>
|
||||
/// <returns>A configured <see cref="ValidationOptionsFixture"/> instance.</returns>
|
||||
public ValidationOptionsFixture Create()
|
||||
{
|
||||
return new ValidationOptionsFixture();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user