Remove ConstantsTests and add Domain folder to test project
Removed the ConstantsTests.cs file, which tested the Normalize method for EnvelopeSigningType. Updated EnvelopeGenerator.Tests.csproj to include a Domain folder for future test organization.
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
using EnvelopeGenerator.Domain.Constants;
|
|
||||||
using NUnit.Framework;
|
|
||||||
|
|
||||||
namespace EnvelopeGenerator.Tests.Domain;
|
|
||||||
|
|
||||||
public class ConstantsTests
|
|
||||||
{
|
|
||||||
[TestCase(EnvelopeSigningType.ReadAndSign, EnvelopeSigningType.ReadAndSign)]
|
|
||||||
[TestCase(EnvelopeSigningType.WetSignature, EnvelopeSigningType.WetSignature)]
|
|
||||||
[TestCase((EnvelopeSigningType)5, EnvelopeSigningType.WetSignature)]
|
|
||||||
public void Normalize_ReturnsExpectedValue(EnvelopeSigningType input, EnvelopeSigningType expected)
|
|
||||||
{
|
|
||||||
var normalized = input.Normalize();
|
|
||||||
|
|
||||||
Assert.That(normalized, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -53,4 +53,8 @@
|
|||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Domain\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user