Add setting to make projects online/offline by default

This commit is contained in:
Max Brunsfeld 2022-06-03 16:57:50 -07:00
parent 24aafde1e8
commit ed14fd6e0d
3 changed files with 27 additions and 17 deletions

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);
});