Skip to content

Commit 10c13ed

Browse files
committed
fix: seeds
1 parent d2b4957 commit 10c13ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ defmodule Algora.MixProject do
3030

3131
# Specifies which paths to compile per environment.
3232
defp elixirc_paths(:test), do: ["lib", "test/support"]
33+
defp elixirc_paths(:dev), do: ["lib", "test/support"]
3334
defp elixirc_paths(_), do: ["lib"]
3435

3536
# Specifies your project dependencies.
@@ -75,7 +76,7 @@ defmodule Algora.MixProject do
7576
{:styler, "~> 1.2", only: [:dev, :test], runtime: false},
7677
{:typed_ecto_schema, "~> 0.4.1", runtime: false},
7778
{:chameleon, "~> 2.2.0"},
78-
{:ex_machina, "~> 2.8.0", only: :test},
79+
{:ex_machina, "~> 2.8.0", only: [:dev, :test]},
7980
# ex_aws
8081
{:ex_aws, "~> 2.1"},
8182
{:ex_aws_s3, "~> 2.0"},

test/support/factory.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ defmodule Algora.Factory do
168168
provider_id: sequence(:provider_id, &"#{&1}"),
169169
name: "middle-out",
170170
url: "https://github.com/piedpiper/middle-out",
171+
og_image_url: "https://algora.io/asset/storage/v1/object/public/mock/piedpiper-banner.jpg",
171172
provider_meta: %{}
172173
}
173174
end

0 commit comments

Comments
 (0)