Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<PackageVersion Include="Shouldly" Version="4.3.0" />
<PackageVersion Include="StronglyTypedId" Version="1.0.0-beta08" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageVersion Include="System.IO.Hashing" Version="10.0.3" />
<PackageVersion Include="Vogen" Version="7.0.0" />
<PackageVersion Include="Weasel.Postgresql" Version="8.8.1" />
<PackageVersion Include="WolverineFx.Marten" Version="4.2.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace MultiTenancyTests;

[CollectionDefinition("multi-tenancy", DisableParallelization = true)]
public class DocumentStore_IMartenStorage_implementation : IAsyncLifetime
public class DocumentStore_IMartenStorage_implementation: IAsyncLifetime
{
private IHost _host;
private IDocumentStore theStore;
Expand All @@ -41,7 +41,6 @@ private async Task<string> CreateDatabaseIfNotExists(NpgsqlConnection conn, stri
}



public async Task InitializeAsync()
{
await using var conn = new NpgsqlConnection(ConnectionSource.ConnectionString);
Expand Down Expand Up @@ -72,7 +71,6 @@ public async Task InitializeAsync()
opts.RegisterDocumentType<Target>();

opts.Events.AddEventType(typeof(RandomEvent));

});
}).StartAsync();

Expand Down Expand Up @@ -157,4 +155,6 @@ public async Task all_databases_can_return()
}
}

public record RandomEvent{}
public record RandomEvent
{
}
1 change: 1 addition & 0 deletions src/MultiTenancyTests/MultiTenancyTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
<PackageReference Include="Npgsql.DependencyInjection" />
<PackageReference Include="System.IO.Hashing" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Loading
Loading