diff --git a/src/Tests/TestConnectionManager.cs b/src/Tests/TestConnectionManager.cs
new file mode 100644
index 0000000..8e8b61f
--- /dev/null
+++ b/src/Tests/TestConnectionManager.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+using System.Data;
+using DbUp.Engine.Transactions;
+
+namespace DbUp.Postgresql.Tests;
+
+///
+/// Test implementation of DatabaseConnectionManager for unit testing.
+///
+public class TestConnectionManager : DatabaseConnectionManager
+{
+ public TestConnectionManager(IDbConnection connection)
+ : base(new DelegateConnectionFactory(_ => connection))
+ {
+ }
+
+ public override IEnumerable SplitScriptIntoCommands(string scriptContents)
+ {
+ yield return scriptContents;
+ }
+}
diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj
index 22618f0..3ddaad6 100644
--- a/src/Tests/Tests.csproj
+++ b/src/Tests/Tests.csproj
@@ -10,8 +10,8 @@
-
-
+
+
all
diff --git a/src/dbup-postgresql/dbup-postgresql.csproj b/src/dbup-postgresql/dbup-postgresql.csproj
index f5c7eef..2d080c0 100644
--- a/src/dbup-postgresql/dbup-postgresql.csproj
+++ b/src/dbup-postgresql/dbup-postgresql.csproj
@@ -32,7 +32,7 @@
-
+