diff --git a/src/UnitTests.Databases.SqlServer.EntityFramework/EntityFrameworkDatabaseInitializerExtensions.cs b/src/UnitTests.Databases.SqlServer.EntityFramework/EntityFrameworkDatabaseInitializerExtensions.cs index 4254ce2..8fc71d9 100644 --- a/src/UnitTests.Databases.SqlServer.EntityFramework/EntityFrameworkDatabaseInitializerExtensions.cs +++ b/src/UnitTests.Databases.SqlServer.EntityFramework/EntityFrameworkDatabaseInitializerExtensions.cs @@ -36,13 +36,6 @@ public static SqlServerDatabase Initialize(this SqlServerDatabaseInitializer ini context.Database.EnsureCreated(); - if (!string.IsNullOrWhiteSpace(connectionStringBuilder.UserID)) - { - server.Master.ExecuteNonQuery($@" - IF SUSER_ID ('{connectionStringBuilder.UserID}') IS NULL - CREATE LOGIN [{connectionStringBuilder.UserID}] WITH PASSWORD = '{connectionStringBuilder.Password}'"); - } - initializer.IsInitialized = true; }