feat(Fake): add extension method to Fake to create Envelope

This commit is contained in:
2025-09-02 15:25:59 +02:00
parent a87a524271
commit 6cdd1db7a9
2 changed files with 27 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
using Bogus;
using DigitalData.UserManager.Domain.Entities;
using EnvelopeGenerator.Application.Envelopes.Commands;
using EnvelopeGenerator.Application.Receivers.Commands;
using EnvelopeGenerator.Domain.Entities;
using MediatR;
namespace EnvelopeGenerator.Tests.Application;
@@ -16,6 +16,8 @@ public class TestBase : Faker
public CreateEnvelopeCommand FakeCreateEnvelopeCommand => this.CreateEnvelopeCommand(Host.User.Id);
public Envelope FakeEnvelope => this.CreateEnvelope(Host.User.Id);
[SetUp]
public virtual async Task Setup()
{