Add setting to make projects online/offline by default
This commit is contained in:
parent
24aafde1e8
commit
ed14fd6e0d
3 changed files with 27 additions and 17 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue