Skip to content

Commit 5a39958

Browse files
committed
refactor: enable people
1 parent 5993b94 commit 5a39958

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/media_server/movies.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ defmodule MediaServer.Movies do
4242

4343
MediaServer.Workers.AddMovieGenres.new(%{"id" => record.id}) |> Oban.insert()
4444

45-
# MediaServer.Workers.AddPeople.new(%{"id" => record.id}) |> Oban.insert()
45+
MediaServer.Workers.AddPeople.new(%{"id" => record.id}) |> Oban.insert()
4646

4747
{:ok, record}
4848

test/seeds_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule MediaServerWeb.SeedsTest do
1414
end
1515

1616
test "it has people" do
17-
assert Enum.count(MediaServer.Repo.all(MediaServer.People)) == 0
17+
assert Enum.count(MediaServer.Repo.all(MediaServer.People)) == 41
1818
end
1919

2020
test "it has series" do

0 commit comments

Comments
 (0)