mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-27 01:08:29 +08:00
25 lines
507 B
Elixir
25 lines
507 B
Elixir
defmodule Livebook.EnterpriseIntegrationCase do
|
|
use ExUnit.CaseTemplate
|
|
|
|
alias Livebook.EnterpriseServer
|
|
|
|
using do
|
|
quote do
|
|
use LivebookWeb.ConnCase
|
|
|
|
@moduletag :enterprise_integration
|
|
|
|
alias Livebook.EnterpriseServer
|
|
end
|
|
end
|
|
|
|
setup_all do
|
|
case EnterpriseServer.start() do
|
|
{:ok, _} -> :ok
|
|
{:error, {:already_started, _}} -> :ok
|
|
end
|
|
|
|
{:ok,
|
|
url: EnterpriseServer.url(), token: EnterpriseServer.token(), user: EnterpriseServer.user()}
|
|
end
|
|
end
|