[Enhancement] Ignore media based on user scripts (#330)
* Integrated pre-download callback for media items * Refactored existing tests * Docs, etc
This commit is contained in:
1 parent
d392fc3818
commit
7a01db05dd
12 files changed
+108
-48
No files matched your search
@@ -137,7 +137,7 @@ defmodule PinchflatWeb.MediaProfileControllerTest do
|
||||
setup [:create_media_profile]
|
||||
|
||||
setup do
|
||||
stub(UserScriptRunnerMock, :run, fn _event_type, _data -> :ok end)
|
||||
stub(UserScriptRunnerMock, :run, fn _event_type, _data -> {:ok, "", 0} end)
|
||||
|
||||
:ok
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user