Add confirm_quit setting

This commit is contained in:
Max Brunsfeld 2023-01-20 13:02:38 -08:00
parent be2c601176
commit 2f42af2ac3
5 changed files with 31 additions and 13 deletions

View file

@ -101,10 +101,7 @@ impl TestServer {
async fn create_client(&mut self, cx: &mut TestAppContext, name: &str) -> TestClient {
cx.update(|cx| {
cx.set_global(HomeDir(Path::new("/tmp/").to_path_buf()));
let mut settings = Settings::test(cx);
settings.projects_online_by_default = false;
cx.set_global(settings);
cx.set_global(Settings::test(cx));
});
let http = FakeHttpClient::with_404_response();