فهرست منبع

📝 docs(test): update test location data with city prefix
- add "北京" prefix to test location names for better test data clarity
- add "北京市" prefix to test addresses for more realistic test scenarios

🔧 chore: add log.txt to .gitignore
- prevent log file from being tracked by git

yourname 4 ماه پیش
والد
کامیت
31b2511461
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 0
      .gitignore
  2. 2 2
      tests/utils/server/integration-test-db.ts

+ 1 - 0
.gitignore

@@ -51,3 +51,4 @@ backups/
 scripts/time_logger.sh
 loop.txt
 .nfs*
+log.txt

+ 2 - 2
tests/utils/server/integration-test-db.ts

@@ -89,8 +89,8 @@ export class TestDataFactory {
   static createLocationData(overrides: Partial<LocationEntity> = {}): Partial<LocationEntity> {
     const timestamp = Date.now();
     return {
-      name: `测试地点_${timestamp}`,
-      address: `测试地址_${timestamp}`,
+      name: `北京测试地点_${timestamp}`,
+      address: `北京市测试地址_${timestamp}`,
       provinceId: 0, // 将在创建时自动设置
       cityId: 0,     // 将在创建时自动设置
       districtId: 0, // 将在创建时自动设置