fixing testsa for copy_db

This commit is contained in:
2025-08-30 08:59:45 +02:00
parent b6ff07e655
commit acde6aeaeb
+2 -2
View File
@@ -2,7 +2,9 @@ package maintenance
import (
"bamort/database"
"bamort/models"
"bamort/user"
"fmt"
"io"
"os"
"path/filepath"
@@ -78,7 +80,6 @@ func TestCopyLiveDatabaseToFile(t *testing.T) {
}
/*
// BenchmarkCopyLiveDatabaseToFile benchmarks the copy function performance
func BenchmarkCopyLiveDatabaseToFile(b *testing.B) {
// Setup test database once
@@ -115,4 +116,3 @@ func BenchmarkCopyLiveDatabaseToFile(b *testing.B) {
os.Remove(targetFile)
}
}
*/