PlanTempusApp/PlanTempus.X.BDD/Scenarios/OrganizationSetupSpecs.cs

21 lines
616 B
C#
Raw Permalink Normal View History

2025-03-03 00:42:20 +01:00
using LightBDD.Framework;
using LightBDD.Framework.Scenarios;
using LightBDD.MsTest3;
namespace PlanTempus.X.BDD.Scenarios;
[TestClass]
2025-03-03 00:42:20 +01:00
public partial class OrganizationSetupSpecs : FeatureFixtures.OrganizationSetupSpecs
{
[Scenario]
[TestMethod]
public async Task Create_organization_for_registered_account()
{
await Runner.RunScenarioAsync(
_ => Given_a_registered_account(),
_ => When_I_create_an_organization_with_connection_string("Host=localhost;Database=tenant_db;"),
_ => Then_the_organization_should_be_created_successfully()
);
}
}