@@ -36,6 +36,7 @@ void main() {
36
36
"historyRetentionPeriod" : "oneWeek" ,
37
37
"workspaceFolderPath" : null ,
38
38
"isSSLDisabled" : true ,
39
+ "isDashBotEnabled" : true ,
39
40
};
40
41
expect (sm.toJson (), expectedResult);
41
42
});
@@ -56,6 +57,7 @@ void main() {
56
57
"historyRetentionPeriod" : "oneWeek" ,
57
58
"workspaceFolderPath" : null ,
58
59
"isSSLDisabled" : true ,
60
+ "isDashBotEnabled" : true ,
59
61
};
60
62
expect (SettingsModel .fromJson (input), sm);
61
63
});
@@ -73,12 +75,14 @@ void main() {
73
75
activeEnvironmentId: null ,
74
76
historyRetentionPeriod: HistoryRetentionPeriod .oneWeek,
75
77
isSSLDisabled: false ,
78
+ isDashBotEnabled: false ,
76
79
);
77
80
expect (
78
81
sm.copyWith (
79
82
isDark: true ,
80
83
saveResponses: false ,
81
84
isSSLDisabled: false ,
85
+ isDashBotEnabled: false ,
82
86
),
83
87
expectedResult);
84
88
});
@@ -98,7 +102,8 @@ void main() {
98
102
"activeEnvironmentId": null,
99
103
"historyRetentionPeriod": "oneWeek",
100
104
"workspaceFolderPath": null,
101
- "isSSLDisabled": true
105
+ "isSSLDisabled": true,
106
+ "isDashBotEnabled": true
102
107
}''' ;
103
108
expect (sm.toString (), expectedResult);
104
109
});
0 commit comments