Page MenuHomePhorge

ecto_test.exs
No OneTemporary

Size
468 B
Referenced Files
None
Subscribers
None

ecto_test.exs

# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.EctoTest do
use ExUnit.Case, async: true
test "raise on bad path" do
assert_raise RuntimeError, ~r/Could not find migrations directory/, fn ->
Mix.Tasks.Pleroma.Ecto.ensure_migrations_path(Pleroma.Repo,
migrations_path: "some-path"
)
end
end
end

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 20, 9:54 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
855256
Default Alt Text
ecto_test.exs (468 B)

Event Timeline