summaryrefslogtreecommitdiff
path: root/test/elixir/lib/step/config.ex
diff options
context:
space:
mode:
Diffstat (limited to 'test/elixir/lib/step/config.ex')
-rw-r--r--test/elixir/lib/step/config.ex33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/elixir/lib/step/config.ex b/test/elixir/lib/step/config.ex
deleted file mode 100644
index 41d559908..000000000
--- a/test/elixir/lib/step/config.ex
+++ /dev/null
@@ -1,33 +0,0 @@
-defmodule Couch.Test.Setup.Step.Config do
- @moduledoc """
- This setup reads configuration for a test run.
- It is not supposed to be called manually.
- """
-
- alias Couch.Test.Setup
-
- defstruct [:config, :config_file]
-
- def new(setup, id, config_file: config_file) do
- setup |> Setup.step(id, %__MODULE__{config_file: config_file})
- end
-
- def setup(_setup, %__MODULE__{config_file: _config_file} = step) do
- # TODO we would need to access config file here
- %{step | config: %{
- backdoor: %{
- protocol: "http"
- },
- clustered: %{
- protocol: "http"
- }
- }}
- end
-
- def teardown(_setup, _step) do
- end
-
- def get(%__MODULE__{config: config}) do
- config
- end
-end