From a8abeb41f46614b0fd3b43dc2ea0a923f57f8027 Mon Sep 17 00:00:00 2001 From: sharkAndshark Date: Fri, 11 Oct 2024 16:02:48 +0800 Subject: [PATCH] Use truncate instead of delete for test setup --- .../AffineTransformationsTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LinqToDBPostGisNetTopologySuite.Tests/AffineTransformationsTests.cs b/LinqToDBPostGisNetTopologySuite.Tests/AffineTransformationsTests.cs index 7f9b50e..86262db 100644 --- a/LinqToDBPostGisNetTopologySuite.Tests/AffineTransformationsTests.cs +++ b/LinqToDBPostGisNetTopologySuite.Tests/AffineTransformationsTests.cs @@ -16,8 +16,8 @@ public void Setup() { using (var db = new PostGisTestDataConnection(TestDatabaseConnectionString)) { - db.TestGeometries.Delete(); - db.TestGeographies.Delete(); + db.TestGeometries.Truncate(); + db.TestGeographies.Truncate(); } }