* [WIP] Working on fetching channel metadata in yt-dlp backend * Finished first draft of methods to do with querying channels * Renamed CommandRunnerMock to have a more descriptive name * Ran the phx generator for the channel model * Renamed Downloader namespace to MediaClient * [WIP] saving before attempting LiveView * LiveView did not work out but here's a working controller how about
5 lines
224 B
Elixir
5 lines
224 B
Elixir
Mox.defmock(YtDlpRunnerMock, for: Pinchflat.MediaClient.Backends.BackendCommandRunner)
|
|
Application.put_env(:pinchflat, :yt_dlp_runner, YtDlpRunnerMock)
|
|
|
|
ExUnit.start()
|
|
Ecto.Adapters.SQL.Sandbox.mode(Pinchflat.Repo, :manual)
|