test(core): the adapter maps bookspec's setting keys to the engine's

Bookspec now closes its setting keys (fiscal_year_start); the engine's key is
company.fiscal_year_start. The event and the query both go through one map
(BS-ledger-9).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-09 11:17:14 -07:00
1 parent bab7ac72ca
commit e49b6d3427
2 files changed
+18 -4

No files matched your search

+1 -1
View File
@@ -833,7 +833,7 @@ impl Books<'_> {
// The books' own journaled command: the fact and who decided
// it are kept in the journal (BS-ledger-9).
let change = Change {
key: s.key.clone(),
key: engine_setting_key(&s.key).to_string(),
value: Some(Value::String(s.value.clone())),
};
let source = Source {