@@ -15,7 +15,6 @@ import 'package:zulip/api/route/messages.dart';
15
15
import 'package:zulip/api/route/realm.dart' ;
16
16
import 'package:zulip/log.dart' ;
17
17
import 'package:zulip/model/actions.dart' ;
18
- import 'package:zulip/model/settings.dart' ;
19
18
import 'package:zulip/model/store.dart' ;
20
19
import 'package:zulip/notifications/receive.dart' ;
21
20
@@ -31,28 +30,6 @@ import 'test_store.dart';
31
30
void main () {
32
31
TestZulipBinding .ensureInitialized ();
33
32
34
- group ('GlobalStore.updateGlobalSettings' , () {
35
- test ('smoke' , () async {
36
- final globalSettings = eg.globalStore ().settings;
37
- check (globalSettings).themeSetting.equals (null );
38
-
39
- await globalSettings.setThemeSetting (ThemeSetting .dark);
40
- check (globalSettings).themeSetting.equals (ThemeSetting .dark);
41
- });
42
-
43
- test ('should notify listeners' , () async {
44
- int notifyCount = 0 ;
45
- final globalSettings = eg.globalStore ().settings;
46
- globalSettings.addListener (() => notifyCount++ );
47
- check (notifyCount).equals (0 );
48
-
49
- await globalSettings.setThemeSetting (ThemeSetting .light);
50
- check (notifyCount).equals (1 );
51
- });
52
-
53
- // TODO integration tests with sqlite
54
- });
55
-
56
33
final account1 = eg.selfAccount.copyWith (id: 1 );
57
34
final account2 = eg.otherAccount.copyWith (id: 2 );
58
35
0 commit comments