mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-16 08:26:10 +08:00
Fix failing tests
This commit is contained in:
parent
435a668578
commit
4eb9406d10
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue