修复 ocr 错误

This commit is contained in:
yml2213
2026-06-28 15:00:54 +08:00
parent 18eba36ef9
commit b124c74a46
8 changed files with 331 additions and 44 deletions
@@ -33,7 +33,7 @@ func setupConversationTestDB(t *testing.T) *gorm.DB {
func TestFindOrderConversationPrefersListingGroup(t *testing.T) {
db := setupConversationTestDB(t)
repo := NewRepository(db, nil)
repo := NewRepository(db, nil, nil)
now := time.Date(2026, 6, 18, 12, 0, 0, 0, time.UTC)
owner := model.User{Phone: "13800001001", Nickname: "号主"}
@@ -96,7 +96,7 @@ func TestFindOrderConversationPrefersListingGroup(t *testing.T) {
func TestFindOrderConversationFallsBackToOrderGroup(t *testing.T) {
db := setupConversationTestDB(t)
repo := NewRepository(db, nil)
repo := NewRepository(db, nil, nil)
now := time.Date(2026, 6, 18, 12, 0, 0, 0, time.UTC)
owner := model.User{Phone: "13800001003", Nickname: "号主"}