Add setting to make projects online/offline by default

This commit is contained in:
Max Brunsfeld
2022-06-03 17:01:15 -07:00
parent 24aafde1e8
commit ed14fd6e0d
3 changed files with 27 additions and 17 deletions
+2 -1
View File
@@ -4635,7 +4635,8 @@ impl TestServer {
async fn create_client(&mut self, cx: &mut TestAppContext, name: &str) -> TestClient {
cx.update(|cx| {
let settings = Settings::test(cx);
let mut settings = Settings::test(cx);
settings.projects_online_by_default = false;
cx.set_global(settings);
});