Skip to content

Commit

Permalink
Fix for credo/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gagandeepb authored and nelsonkopliku committed Nov 11, 2024
1 parent 73c8324 commit 47ba86d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/trento/activity_log_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ defmodule Trento.ActivityLogTest do
assert length(returned_results) == 3

assert returned_results |> Enum.map(& &1.id) |> Enum.sort() ==
[expected_result1.id, expected_result2.id, expected_result3.id] |> Enum.sort()
Enum.sort([expected_result1.id, expected_result2.id, expected_result3.id])
end

test "Three keywords connected by AND" do
Expand All @@ -372,7 +372,7 @@ defmodule Trento.ActivityLogTest do
_not_expected_result2 = insert(:activity_log_entry, metadata: %{"field2" => keyword2})

_not_expected_result3 =
insert(:activity_log_entry, metadata: %{"field3" => keyword3, "field3" => keyword3})
insert(:activity_log_entry, metadata: %{"field3" => keyword3, "field4" => keyword3})

insert_list(50, :activity_log_entry)

Expand Down

0 comments on commit 47ba86d

Please sign in to comment.