fix(base): the test of a reset taken effect asks the sign-in ways on its own clock
All checks were successful
CI / check (push) Successful in 35m57s
CI / deploy (push) Successful in 2m21s

It read the real clock, on which the reset had lapsed a week after taking effect,
so it failed from 27 Oct 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-29 15:51:21 +01:00
commit fe2b4389b7
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -1132,7 +1132,9 @@ void main() {
createdAt: now.subtract(const Duration(hours: 73)),
),
);
final ways = await endpoints.account.signInWays(onPhone());
final ways = await atNow(
() => endpoints.account.signInWays(onPhone()),
);
expect(ways.authenticator, isTrue);
expect(ways.secondFactorWorks, isFalse);