diff options
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 |
