Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33095844
ecto_test.exs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
468 B
Referenced Files
None
Subscribers
None
ecto_test.exs
View Options
# 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
Details
Attached
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)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment