fix volunteer special age metadata
This commit is contained in:
@@ -417,8 +417,8 @@ export class ActionResolver<
|
||||
addMetaValue(meta, 'picture', candidate.picture ?? null);
|
||||
addMetaValue(meta, 'birthYear', birthYear);
|
||||
addMetaValue(meta, 'deathYear', deathYear);
|
||||
addMetaValue(meta, 'specAge', DEFAULT_SPEC_AGE);
|
||||
addMetaValue(meta, 'specAge2', DEFAULT_SPEC_AGE);
|
||||
addMetaValue(meta, 'specage', DEFAULT_SPEC_AGE);
|
||||
addMetaValue(meta, 'specage2', DEFAULT_SPEC_AGE);
|
||||
addMetaValue(meta, 'text', candidate.text ?? null);
|
||||
|
||||
const newGeneral = {
|
||||
|
||||
@@ -1674,6 +1674,8 @@ integration('nation volunteer-recruitment constraints, creation values, RNG, and
|
||||
dedication: expectedAverageExperience,
|
||||
specialDomestic: null,
|
||||
specialWar: null,
|
||||
specAge: 19,
|
||||
specAge2: 19,
|
||||
});
|
||||
expect(String(created.name)).toMatch(/^ⓖ/);
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user