diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-21 21:47:59 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-21 21:47:59 +0800 |
| commit | 722ec6c19c0c64ea5348c6bc3aefc0061bd96307 (patch) | |
| tree | 65fc127dcb808e05ab332d15332b5cb69ccf6620 /tests/FundLab.Api.Tests/PersistenceTests.fs | |
| parent | 98c41c37896a41c5f2f15ed187e55ab617735342 (diff) | |
| download | fund-lab-722ec6c19c0c64ea5348c6bc3aefc0061bd96307.tar.gz | |
Add dividend slice (3d-8)
Book cash dividends to available cash exactly once and reinvest dividends through the shared subscription pipeline, with deterministic scheme idempotency and cross-position isolation.
Diffstat (limited to 'tests/FundLab.Api.Tests/PersistenceTests.fs')
| -rw-r--r-- | tests/FundLab.Api.Tests/PersistenceTests.fs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/FundLab.Api.Tests/PersistenceTests.fs b/tests/FundLab.Api.Tests/PersistenceTests.fs index 5a049af..61d10df 100644 --- a/tests/FundLab.Api.Tests/PersistenceTests.fs +++ b/tests/FundLab.Api.Tests/PersistenceTests.fs @@ -108,6 +108,8 @@ type PostgresFixture() = waitForDatabase () Environment.SetEnvironmentVariable("FUND_LAB_AUTH_TOKEN", "test-token") + // pin the trading-date clock so suites are independent of the wall clock when they run + Environment.SetEnvironmentVariable("FUND_LAB_TEST_TRADE_DATE", "2026-09-21") member _.ConnectionString = connectionString member _.Key(suffix: string) = sprintf "fund-lab-test-%s-%s" runId suffix |
