Files
the-biergarten-app/web/backend/Features/Features.Breweries.Tests/Repository/TestConnectionFactory.cs
2026-06-20 13:55:17 -04:00

14 lines
310 B
C#

using System.Data.Common;
using Infrastructure.Sql;
namespace Features.Breweries.Tests.Repository;
internal class TestConnectionFactory(DbConnection conn) : ISqlConnectionFactory
{
private readonly DbConnection _conn = conn;
public DbConnection CreateConnection()
{
return _conn;
}
}