Skip to content

Commit

Permalink
base_test.exs test_helpers fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Aug 27, 2020
1 parent 291b267 commit 51d2e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/paper_trail/base_test.exs
Expand Up @@ -530,11 +530,11 @@ defmodule PaperTrailTest do
User.changeset(%User{}, %{token: "fake-token", username: "izelnakri"}) |> @repo.insert!
end

defp create_company_with_version(params \\ @create_company_params, options \\ nil) do
defp create_company_with_version(params \\ @create_company_params, options \\ []) do
Company.changeset(%Company{}, params) |> PaperTrail.insert(options)
end

defp update_company_with_version(company, params \\ @update_company_params, options \\ nil) do
defp update_company_with_version(company, params \\ @update_company_params, options \\ []) do
Company.changeset(company, params) |> PaperTrail.update(options)
end

Expand Down

0 comments on commit 51d2e2f

Please sign in to comment.