修复部署恢复前证据核验并补齐原生负向回归
This commit is contained in:
1 parent
9a3ef1711f
commit
46a9fa0006
14 files changed
+538
-15
No files matched your search
@@ -3,6 +3,7 @@ package repository
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"git.pcux.cn/xuans/Scert/backend/internal/config"
|
||||
@@ -12,7 +13,9 @@ import (
|
||||
)
|
||||
|
||||
func TestProjectDirectorySQLite(t *testing.T) {
|
||||
checkProjectDirectory(t, config.Default(t.TempDir()).Database)
|
||||
cfg := config.Default(t.TempDir()).Database
|
||||
cfg.DSN = filepath.Join(t.TempDir(), "project-directory.db")
|
||||
checkProjectDirectory(t, cfg)
|
||||
}
|
||||
|
||||
func TestProjectDirectoryMySQLReal(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user