Tests for RealmService.FindBySlug

This commit is contained in:
eelke 2026-02-15 07:15:11 +01:00
parent 7a5cb703ec
commit a80c133e2a
3 changed files with 49 additions and 16 deletions

View file

@ -19,8 +19,8 @@ public class DbFixture : IAsyncLifetime
private string Password => "password";
private string DbHostname => _postgresqlServer.Hostname;
private int DbPort => _postgresqlServer.GetMappedPublicPort(PostgreSqlBuilder.PostgreSqlPort);
public Db CreateDbContext(string dbName)
public Db CreateDbContext(string dbName = "testdb")
{
var db = new Db(Options.Create<DbConfiguration>(new()
{