fix staged nation tax rate consumption
This commit is contained in:
1 parent
de510da48e
commit
26e033665a
7 files changed
+118
-49
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user