fix staged nation tax rate consumption

This commit is contained in:
2026-07-27 10:07:59 +00:00
parent de510da48e
commit 26e033665a
7 changed files with 118 additions and 49 deletions
@@ -25,7 +25,7 @@ const nation: Nation = {
power: 0,
level: 1,
typeCode: 'che_중립',
meta: { rate: 20 },
meta: { rate: 50, rate_tmp: 20 },
};
const buildCity = (id: number, nationIdValue: number): City => ({
@@ -265,7 +265,7 @@ integration('monthly semi-annual database persistence', () => {
expect(await db.nation.findUniqueOrThrow({ where: { id: nationId } })).toMatchObject({
gold: 95_001,
rice: 7_777,
meta: { rate: 20 },
meta: { rate: 50, rate_tmp: 20 },
});
} finally {
await dbHooks.close();