fix(profiles): binder settle, active-id, and rebind correctness

This commit is contained in:
edde746
2026-07-02 11:41:25 +02:00
parent 2025e1f9fd
commit f9123eb40f
13 changed files with 446 additions and 144 deletions
@@ -20,11 +20,9 @@ void main() {
setUp(resetSharedPreferencesForTest);
group('UserProfileProvider (settings-only)', () {
test('starts with all-null state and no error', () {
test('starts with null settings', () {
final p = UserProfileProvider();
expect(p.profileSettings, isNull);
expect(p.isLoading, isFalse);
expect(p.error, isNull);
p.dispose();
});
@@ -43,7 +41,6 @@ void main() {
final p = UserProfileProvider();
await p.logout();
expect(p.profileSettings, isNull);
expect(p.error, isNull);
p.dispose();
});