Skip to content

Commit

Permalink
Bump MSTest (#2032)
Browse files Browse the repository at this point in the history
and `NSubstitute`
and resolve warning
  • Loading branch information
YoshiRulz authored Nov 7, 2024
1 parent 50dcbc0 commit 10b0adf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageVersion Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" />
<PackageVersion Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
<PackageVersion Include="MSTest" Version="3.3.1" />
<PackageVersion Include="MSTest" Version="3.6.2" />
<PackageVersion Include="Namotion.Reflection" Version="3.1.1" />
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
<PackageVersion Include="NSubstitute" Version="5.1.0" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.9.0-beta.2" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
<PackageVersion Include="RoslynCodeTaskFactory" Version="2.0.7" />
Expand Down
5 changes: 2 additions & 3 deletions tests/TASVideos.Tests.Base/TestDbBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@

namespace TASVideos.Tests.Base;

[TestClass]
public class TestDbBase
public abstract class TestDbBase
{
protected TestDbContext _db;

private static IDbContextTransaction? _transaction;
private static bool _isInitialized = false;
private static string? _connectionString;

public TestDbBase()
protected TestDbBase()
{
_db = Create();
_transaction = _db.Database.BeginTransaction();
Expand Down

0 comments on commit 10b0adf

Please sign in to comment.