Skip to content

Commit

Permalink
minor factory fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Dec 7, 2024
1 parent 123b56e commit 571d3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/factory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if Code.ensure_loaded?(ExMachina) and Code.ensure_loaded?(Faker) do
end

def plan_with_errors_factory do
build(:plan, routing_errors: __MODULE__.build_list(2, :routing_error))
build(:plan, routing_errors: __MODULE__.build_list(2, :routing_error), itineraries: [])
end

def routing_error_factory do
Expand Down

0 comments on commit 571d3e5

Please sign in to comment.