fix(base): the test of a reset taken effect asks the sign-in ways on its own clock
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:
parent
3e24bf8d9d
commit
fe2b4389b7
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue