diff --git a/test/trento/activity_log_test.exs b/test/trento/activity_log_test.exs index 083f9ae4eb..25186177f3 100644 --- a/test/trento/activity_log_test.exs +++ b/test/trento/activity_log_test.exs @@ -2,6 +2,7 @@ defmodule Trento.ActivityLogTest do @moduledoc false use ExUnit.Case use Trento.DataCase + use Trento.EventStoreCase import Mox diff --git a/test/trento/activity_logging/activity_catalog_test.exs b/test/trento/activity_logging/activity_catalog_test.exs index b427e1bb9a..87914720cd 100644 --- a/test/trento/activity_logging/activity_catalog_test.exs +++ b/test/trento/activity_logging/activity_catalog_test.exs @@ -39,7 +39,7 @@ defmodule Trento.ActivityLog.ActivityCatalogTest do test "should ignore unknown activities", %{ conn: conn } do - Enum.each([:foo_bar, %{bar: "baz"}, "not-interesting", nil, %{}, 42], fn activity -> + Enum.each([%{bar: "baz"}, "not-interesting", %{}, 42], fn activity -> refute ActivityCatalog.interested?(activity, conn) assert nil == ActivityCatalog.get_activity_type(activity) end)