Skip to content

Commit

Permalink
discovery_api error log test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijabbott committed Sep 22, 2023
1 parent 1b37a2d commit a36cc72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ defmodule DiscoveryApi.Event.EventHandlerTest do

assert capture_log(fn ->
Brook.Event.process(@instance_name, Brook.Event.new(type: dataset_delete(), data: dataset, author: :author))
end) =~ ~r/^.*Dataset: #{dataset.id}; dataset_delete failed to process: #{inspect(error)}/
end) =~ ~r/Dataset: #{dataset.id}; dataset_delete failed to process: %RuntimeError{message: \"ERR value is not an integer or out of range\"}/
end
end

Expand Down

0 comments on commit a36cc72

Please sign in to comment.