20 lines
927 B
C#
20 lines
927 B
C#
using System;
|
|
using Xunit;
|
|
|
|
namespace GmRelay.Bot.Tests.Features.Sessions.CreateSession.Wizard;
|
|
|
|
/// <summary>
|
|
/// Happy-path coverage for <see cref="Features.Sessions.CreateSession.CreateSessionHandler.SubmitDraftAsync"/>
|
|
/// on a pool wizard payload. The success path calls the shared
|
|
/// <c>CreateSessionHandler.HandleAsync</c>, which needs a real
|
|
/// <c>NpgsqlDataSource</c> (it runs SQL against game_groups, players,
|
|
/// sessions, and related tables). The missing-fields and validation
|
|
/// branches are covered by the dedicated tests in this folder.
|
|
/// </summary>
|
|
public sealed class CreateSessionHandlerSubmitPoolDraftTests
|
|
{
|
|
[Fact(Skip = "Happy-path SubmitDraftAsync needs a Testcontainers-backed PostgreSQL with the production schema; see file-level summary.")]
|
|
public void SubmitDraftAsync_CompletePoolPayload_CreatesBatchOfSessions() =>
|
|
throw new NotImplementedException("See Skip reason above.");
|
|
}
|