add 'other' to fit unkonw like other fields

This commit is contained in:
Havoc412 2024-11-06 19:02:38 +08:00
parent 9d1f5f8e62
commit 1247e39a2e

View File

@ -189,8 +189,8 @@ func TestDepartment_Insert(t *testing.T) {
} }
// 定义要插入的部门名称 // 定义要插入的部门名称
departmentsZh := []string{"信部", "医学部", "工部", "文理", "湖滨", "枫园"} departmentsZh := []string{"其他", "信部", "医学部", "工部", "文理", "湖滨", "枫园"}
departmentsEn := []string{"it", "medical", "engine", "art", "lake", "maple"} departmentsEn := []string{"other", "it", "medical", "engine", "art", "lake", "maple"}
// 插入数据 // 插入数据
for i := 0; i < len(departmentsZh); i++ { for i := 0; i < len(departmentsZh); i++ {