Skip to content

Commit 4eb9406

Browse files
committed
Fix failing tests
1 parent 435a668 commit 4eb9406

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/livebook/file_system/git/client.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ defmodule Livebook.FileSystem.Git.Client do
150150
end
151151

152152
defp with_ssh_key_file(file_system, fun) when is_function(fun, 1) do
153+
File.mkdir_p!(Livebook.Config.tmp_path())
154+
153155
key_path = FileSystem.Git.key_path(file_system)
154156
pem_entry = :public_key.pem_decode(file_system.key)
155157
ssh_key = :public_key.pem_encode(pem_entry)

test/livebook_teams/web/hub/edit_live_test.exs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ defmodule LivebookWeb.Integration.Hub.EditLiveTest do
1818
if tags[:git] do
1919
Livebook.FileSystem.Mounter.subscribe(team.id)
2020
end
21+
22+
:ok
2123
end
2224

2325
test "updates the hub", %{conn: conn, team: team} do

0 commit comments

Comments
 (0)