待测试
This commit is contained in:
@@ -58,14 +58,14 @@ const run = async () => {
|
||||
name: "汤文远",
|
||||
generation: 12,
|
||||
generationName: "文",
|
||||
birthDate: "1900-01-02T00:00:00+08:00",
|
||||
birthDate: "1900-01-01T16:00:00.000Z",
|
||||
relationName: "始祖",
|
||||
spouses: [{
|
||||
personId: 1002,
|
||||
name: "李氏",
|
||||
generation: 12,
|
||||
generationName: "文",
|
||||
birthDate: "1905-03-04T00:00:00+08:00",
|
||||
birthDate: "1905-03-03T16:00:00.000Z",
|
||||
}],
|
||||
children: [{
|
||||
personId: 1011,
|
||||
@@ -80,9 +80,20 @@ const run = async () => {
|
||||
generationName: "志",
|
||||
fatherId: 1011,
|
||||
deathDate: "2020-05-06T00:00:00+08:00",
|
||||
}],
|
||||
}],
|
||||
}, {
|
||||
personId: 1031,
|
||||
name: "周明轩",
|
||||
generation: 13,
|
||||
generationName: "正",
|
||||
spouses: [{
|
||||
personId: 1011,
|
||||
name: "汤正明",
|
||||
generation: 13,
|
||||
generationName: "正",
|
||||
}],
|
||||
}],
|
||||
}],
|
||||
},
|
||||
};
|
||||
|
||||
@@ -102,6 +113,7 @@ const run = async () => {
|
||||
{
|
||||
id: "1002",
|
||||
parentId: null,
|
||||
spouseOf: "1001",
|
||||
name: "李氏",
|
||||
relation: "配偶",
|
||||
generation: 12,
|
||||
@@ -132,6 +144,18 @@ const run = async () => {
|
||||
sex: "",
|
||||
personStatus: "",
|
||||
},
|
||||
{
|
||||
id: "1031",
|
||||
parentId: "1001",
|
||||
spouseOf: "1011",
|
||||
name: "周明轩",
|
||||
relation: "配偶",
|
||||
generation: 13,
|
||||
branch: "正字辈",
|
||||
years: "生卒待补",
|
||||
sex: "",
|
||||
personStatus: "",
|
||||
},
|
||||
]);
|
||||
assert.strictEqual(
|
||||
requests[0].url,
|
||||
|
||||
Reference in New Issue
Block a user