feat(mapping): 完成 PHIS 健康档案转换(T-212)
This commit is contained in:
Vendored
+6
@@ -24,6 +24,12 @@ func TestDictionarySnapshotLooksUpMasterDataByName(t *testing.T) {
|
||||
if got, ok := snapshot.ManaUnitIDByName("测试机构"); !ok || got != "123456789" {
|
||||
t.Fatalf("ManaUnitIDByName = %q, %v", got, ok)
|
||||
}
|
||||
if !snapshot.DoctorIDExists("doc-001") || snapshot.DoctorIDExists("doc-missing") {
|
||||
t.Fatalf("DoctorIDExists returned unexpected membership")
|
||||
}
|
||||
if !snapshot.ManaUnitIDExists("123456789") || snapshot.ManaUnitIDExists("unit-missing") {
|
||||
t.Fatalf("ManaUnitIDExists returned unexpected membership")
|
||||
}
|
||||
}
|
||||
|
||||
func TestDictionaryServiceRefreshKeepsMemoryWhenPersistentStoreFails(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user