Skip to content

Commit

Permalink
Change the collection unit tests to avoid parallelism.
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTourreau committed Aug 20, 2024
1 parent bf0cb70 commit 2d998e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace PosInformatique.UnitTests.Databases.SqlServer.Tests
{
[Collection(nameof(SqlServerDatabaseExtensionsTest))]
[Collection("PosInformatique.UnitTests.Databases.SqlServer.Tests")]
public class SqlServerDatabaseExtensionsTest
{
private const string ConnectionString = $"Data Source=(localDB)\\posinfo-unit-tests; Initial Catalog={nameof(SqlServerDatabaseExtensionsTest)}; Integrated Security=True";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace PosInformatique.UnitTests.Databases.SqlServer.Tests
{
[Collection(nameof(SqlServerDatabaseInitializerDacPacWithLoginTest))]
[Collection("PosInformatique.UnitTests.Databases.SqlServer.Tests")]
public class SqlServerDatabaseInitializerDacPacWithLoginTest : IClassFixture<SqlServerDatabaseInitializer>
{
private const string ConnectionString = $"Data Source=(localDB)\\posinfo-unit-tests; Initial Catalog={nameof(SqlServerDatabaseInitializerDacPacWithLoginTest)}; User ID=ServiceAccountLogin; Password=P@ssw0rd";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace PosInformatique.UnitTests.Databases.SqlServer.Tests
{
[Collection(nameof(SqlServerDatabaseInitializerDacPacWithoutLogin))]
[Collection("PosInformatique.UnitTests.Databases.SqlServer.Tests")]
public class SqlServerDatabaseInitializerDacPacWithoutLogin : IClassFixture<SqlServerDatabaseInitializer>
{
private const string ConnectionString = $"Data Source=(localDB)\\posinfo-unit-tests; Initial Catalog={nameof(SqlServerDatabaseInitializerDacPacWithoutLogin)}; Integrated Security=True";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace PosInformatique.UnitTests.Databases.SqlServer.Tests
{
[Collection(nameof(SqlServerDatabaseInitializerDbContextWithLoginTest))]
[Collection("PosInformatique.UnitTests.Databases.SqlServer.Tests")]
public class SqlServerDatabaseInitializerDbContextWithLoginTest : IClassFixture<SqlServerDatabaseInitializer>
{
private const string ConnectionString = $"Data Source=(localDB)\\posinfo-unit-tests; Initial Catalog={nameof(SqlServerDatabaseInitializerDbContextWithLoginTest)}; User ID=ServiceAccountLogin; Password=P@ssw0rd";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace PosInformatique.UnitTests.Databases.SqlServer.Tests
{
using Microsoft.EntityFrameworkCore;

[Collection(nameof(SqlServerDatabaseInitializerDbContextWithoutLogin))]
[Collection("PosInformatique.UnitTests.Databases.SqlServer.Tests")]
public class SqlServerDatabaseInitializerDbContextWithoutLogin : IClassFixture<SqlServerDatabaseInitializer>
{
private const string ConnectionString = $"Data Source=(localDB)\\posinfo-unit-tests; Initial Catalog={nameof(SqlServerDatabaseInitializerDbContextWithoutLogin)}; Integrated Security=True";
Expand Down

0 comments on commit 2d998e0

Please sign in to comment.