diff --git a/test/support/factory.ex b/test/support/factory.ex index 0bf47b130d..2a476722e9 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -365,7 +365,7 @@ defmodule Trento.Factory do Repo.insert!(%CheckResultReadModel{ cluster_id: Keyword.get(attrs, :cluster_id, Faker.UUID.v4()), host_id: Keyword.get(attrs, :host_id, Faker.UUID.v4()), - check_id: Keyword.get(attrs, :check_id, Faker.Cat.name()), + check_id: Keyword.get(attrs, :check_id, Faker.UUID.v4()), result: Keyword.get(attrs, :result, :passing) }) end