diff --git a/test/pinchflat/yt_dlp/update_worker_test.exs b/test/pinchflat/yt_dlp/update_worker_test.exs index fed0510..817b9b4 100644 --- a/test/pinchflat/yt_dlp/update_worker_test.exs +++ b/test/pinchflat/yt_dlp/update_worker_test.exs @@ -6,14 +6,14 @@ defmodule Pinchflat.YtDlp.UpdateWorkerTest do describe "perform/1" do test "calls the yt-dlp runner to update yt-dlp" do - expect(YtDlpRunnerMock, :update, fn -> {:ok, ""} end) + expect(YtDlpRunnerMock, :update, fn _version -> {:ok, ""} end) expect(YtDlpRunnerMock, :version, fn -> {:ok, ""} end) perform_job(UpdateWorker, %{}) end test "saves the new version to the database" do - expect(YtDlpRunnerMock, :update, fn -> {:ok, ""} end) + expect(YtDlpRunnerMock, :update, fn _version -> {:ok, ""} end) expect(YtDlpRunnerMock, :version, fn -> {:ok, "1.2.3"} end) perform_job(UpdateWorker, %{})