Skip to content

Commit bfd85c8

Browse files
committed
Update settings_model_test.dart
1 parent a05894d commit bfd85c8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/models/settings_model_test.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ void main() {
3636
"historyRetentionPeriod": "oneWeek",
3737
"workspaceFolderPath": null,
3838
"isSSLDisabled": true,
39+
"isDashBotEnabled": true,
3940
};
4041
expect(sm.toJson(), expectedResult);
4142
});
@@ -56,6 +57,7 @@ void main() {
5657
"historyRetentionPeriod": "oneWeek",
5758
"workspaceFolderPath": null,
5859
"isSSLDisabled": true,
60+
"isDashBotEnabled": true,
5961
};
6062
expect(SettingsModel.fromJson(input), sm);
6163
});
@@ -73,12 +75,14 @@ void main() {
7375
activeEnvironmentId: null,
7476
historyRetentionPeriod: HistoryRetentionPeriod.oneWeek,
7577
isSSLDisabled: false,
78+
isDashBotEnabled: false,
7679
);
7780
expect(
7881
sm.copyWith(
7982
isDark: true,
8083
saveResponses: false,
8184
isSSLDisabled: false,
85+
isDashBotEnabled: false,
8286
),
8387
expectedResult);
8488
});
@@ -98,7 +102,8 @@ void main() {
98102
"activeEnvironmentId": null,
99103
"historyRetentionPeriod": "oneWeek",
100104
"workspaceFolderPath": null,
101-
"isSSLDisabled": true
105+
"isSSLDisabled": true,
106+
"isDashBotEnabled": true
102107
}''';
103108
expect(sm.toString(), expectedResult);
104109
});

0 commit comments

Comments
 (0)