Skip to content

Commit 86883b8

Browse files
committed
Updated outdated and failing worker test
1 parent 4f2f231 commit 86883b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/archivist/worker_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ defmodule Archivist.WorkerTest do
169169
assert {:noreply, updated_state, {:continue, :next_file}} = result
170170
assert MapSet.member?(updated_state.failed, pdf_path)
171171

172-
assert error_log =~ ~s/Failed to archive "archive_me.pdf": :error/
172+
assert error_log =~ ~s/Failed to archive "archive_me.pdf": {:error, {1, "some error"}}/
173173
end
174174

175175
test ":archive skips files that fail to extract PDF information", %{

0 commit comments

Comments
 (0)