* Ran a MediaItem generator; Reformatted to my liking * [WIP] added basic index function * setup oban * Added basic Oban job for indexing * Added in workers for indexing; hooked them into record creation flow * Added a task model with a phx generator * Tied together tasks with jobs and channels
6 lines
238 B
Elixir
6 lines
238 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)
|
|
Faker.start()
|