Add confirm_quit setting
This commit is contained in:
parent
be2c601176
commit
2f42af2ac3
5 changed files with 31 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue