forked from unimatrix/web
Keep the Golden Path outside the original Reputation policy
This commit is contained in:
parent
1a011deb2b
commit
6d0f15082a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ test('POL policy is independently keyed, uncapped and preserves personal policy/
|
|||
await ensureProgressionPolicy(f.db,f.keys,{clock:()=>2000});await ensurePOLProgressionPolicy(f.db,f.keys,{clock:()=>2000});
|
||||
assert.equal((await f.db.first('SELECT level_cap FROM jarvis_progression_seasons')).level_cap,100);
|
||||
assert.equal((await f.db.first('SELECT level_cap FROM jarvis_pol_progression_seasons')).level_cap,0);
|
||||
assert.equal((await f.db.query('SELECT * FROM jarvis_pol_quest_config')).length,POL_QUEST_DEFINITIONS.filter(d=>!d.faction&&!['bounty-jobs','spice-upgrading'].includes(d.branch)).length);
|
||||
assert.equal((await f.db.query('SELECT * FROM jarvis_pol_quest_config')).length,POL_QUEST_DEFINITIONS.filter(d=>!d.faction&&!['bounty-jobs','spice-upgrading','leto-search'].includes(d.branch)).length);
|
||||
assert.equal((await ensurePOLProgressionPolicy(f.db,f.keys)).replayed,true);
|
||||
assert.equal((await f.db.query("SELECT id FROM organisation_keys WHERE key_type='progression-policy'")).length,2);
|
||||
}finally{f.db.close();}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff