Refactoring of Media context

This commit is contained in:
miffy
2019-09-07 02:36:37 +02:00
parent 4a0c1ea42e
commit c2b4fb6cff
5 changed files with 122 additions and 139 deletions

View File

@@ -60,10 +60,5 @@ defmodule Mobilizon.MediaTest do
"/" <> path
)
end
test "change_picture/1 returns a picture changeset" do
picture = insert(:picture)
assert %Ecto.Changeset{} = Media.change_picture(picture)
end
end
end