diff --git a/tests/test_build/wrapper/patch/Site/0.0.0+0/apply.p0.patch b/tests/test_build/wrapper/patch/Site/0.0.0+0/apply.p0.patch
index 34055869758f5477937eb7ddf3dc63e180282027..43da836c7233d55e698148f9f42c66a2fb32aa22 100644
--- a/tests/test_build/wrapper/patch/Site/0.0.0+0/apply.p0.patch
+++ b/tests/test_build/wrapper/patch/Site/0.0.0+0/apply.p0.patch
@@ -1,9 +1,9 @@
-diff --git build/database.db build/database.db
-index 1806ff6..5fdaeb7 100644
---- build/database.db
-+++ build/database.db
+diff --git tests/test_build/wrapper/build/database.db tests/test_build/wrapper/build/database.db
+index 1806ff6..8701832 100644
+--- tests/test_build/wrapper/build/database.db
++++ tests/test_build/wrapper/build/database.db
 @@ -1,3 +1,3 @@
  record(ai, "TEST") {
 -    
-+    field(DESC, "Correct")
++    field(DESC, "OK")
  }
diff --git a/tests/test_build/wrapper/patch/Site/0.0.0-dont-apply.p0.patch b/tests/test_build/wrapper/patch/Site/0.0.0-dont-apply.p0.patch
index d46874bfe464b9dd2541ffb32993c268c8f02d2d..40f3a498cfcd9c36f034c7a4641abfd1e52894e0 100644
--- a/tests/test_build/wrapper/patch/Site/0.0.0-dont-apply.p0.patch
+++ b/tests/test_build/wrapper/patch/Site/0.0.0-dont-apply.p0.patch
@@ -1,7 +1,7 @@
-diff --git build/database.db build/database.db
+diff --git tests/test_build/wrapper/build/database.db tests/test_build/wrapper/build/database.db
 index 1806ff6..5fdaeb7 100644
---- build/database.db
-+++ build/database.db
+--- tests/test_build/wrapper/build/database.db
++++ tests/test_build/wrapper/build/database.db
 @@ -1,3 +1,3 @@
  record(ai, "TEST") {
 -    
diff --git a/tests/test_build/wrapper/patch/Site/0.0.0/dont-apply.p0.patch b/tests/test_build/wrapper/patch/Site/0.0.0/dont-apply.p0.patch
index d46874bfe464b9dd2541ffb32993c268c8f02d2d..40f3a498cfcd9c36f034c7a4641abfd1e52894e0 100644
--- a/tests/test_build/wrapper/patch/Site/0.0.0/dont-apply.p0.patch
+++ b/tests/test_build/wrapper/patch/Site/0.0.0/dont-apply.p0.patch
@@ -1,7 +1,7 @@
-diff --git build/database.db build/database.db
+diff --git tests/test_build/wrapper/build/database.db tests/test_build/wrapper/build/database.db
 index 1806ff6..5fdaeb7 100644
---- build/database.db
-+++ build/database.db
+--- tests/test_build/wrapper/build/database.db
++++ tests/test_build/wrapper/build/database.db
 @@ -1,3 +1,3 @@
  record(ai, "TEST") {
 -