From 4eb9406d10a6758018ea33ca3428c49e178889b1 Mon Sep 17 00:00:00 2001 From: Alexandre de Souza Date: Wed, 24 Sep 2025 15:18:47 -0300 Subject: [PATCH] Fix failing tests --- lib/livebook/file_system/git/client.ex | 2 ++ test/livebook_teams/web/hub/edit_live_test.exs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/livebook/file_system/git/client.ex b/lib/livebook/file_system/git/client.ex index ce4d8f503..5eca5e5c8 100644 --- a/lib/livebook/file_system/git/client.ex +++ b/lib/livebook/file_system/git/client.ex @@ -150,6 +150,8 @@ defmodule Livebook.FileSystem.Git.Client do end defp with_ssh_key_file(file_system, fun) when is_function(fun, 1) do + File.mkdir_p!(Livebook.Config.tmp_path()) + key_path = FileSystem.Git.key_path(file_system) pem_entry = :public_key.pem_decode(file_system.key) ssh_key = :public_key.pem_encode(pem_entry) diff --git a/test/livebook_teams/web/hub/edit_live_test.exs b/test/livebook_teams/web/hub/edit_live_test.exs index 0c64c6a14..f3d0a28e6 100644 --- a/test/livebook_teams/web/hub/edit_live_test.exs +++ b/test/livebook_teams/web/hub/edit_live_test.exs @@ -18,6 +18,8 @@ defmodule LivebookWeb.Integration.Hub.EditLiveTest do if tags[:git] do Livebook.FileSystem.Mounter.subscribe(team.id) end + + :ok end test "updates the hub", %{conn: conn, team: team} do