sync: 同步 OneLink 模拟服务 v1.0.4 并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:25:38 +08:00
parent 4e2cd43a55
commit 5299c13c1a
9 changed files with 170 additions and 58 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import (
)
func TestChanQueryEndpoints(t *testing.T) {
service, err := NewService(t.TempDir() + "/onelink_mock.db")
service, err := NewService(t.TempDir()+"/onelink_mock.db")
if err != nil {
t.Fatal(err)
}
@@ -61,7 +61,7 @@ func TestChanQueryEndpoints(t *testing.T) {
}
func TestChanBatchAndQueryStringCompatibility(t *testing.T) {
service, err := NewService(t.TempDir() + "/onelink_mock.db")
service, err := NewService(t.TempDir()+"/onelink_mock.db")
if err != nil {
t.Fatal(err)
}
@@ -85,7 +85,7 @@ func TestChanBatchAndQueryStringCompatibility(t *testing.T) {
}
func TestChanChangesPersistAndCreateOrders(t *testing.T) {
service, err := NewService(t.TempDir() + "/onelink_mock.db")
service, err := NewService(t.TempDir()+"/onelink_mock.db")
if err != nil {
t.Fatal(err)
}