test(app): Learn's profile expects the day a GitHub-only account goes

The text for an account that signs in with GitHub alone now names the
deletion 30 days after GitHub's end (f7a3251); Learn's test of its
profile looked for the words before.

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-21 18:25:28 +02:00
commit 90e29c2f4c
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -113,10 +113,12 @@ void main() {
await openProfile(tester); await openProfile(tester);
expect(find.textContaining('Sign-in with GitHub ends on'), findsOneWidget); expect(find.textContaining('Sign-in with GitHub ends on'), findsOneWidget);
// Without an address, the account goes at the end (the full reading's // Without an address, the account goes 30 days after the end (the full
// M1). // reading's M1, the short reading's day).
expect( expect(
find.textContaining('will be deleted then, unless you set up a password'), find.textContaining(
'an account without one is deleted 30 days later, with everything',
),
findsOneWidget, findsOneWidget,
); );
expect(find.text('Set up a password'), findsOneWidget); expect(find.text('Set up a password'), findsOneWidget);