projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recipient Type: Cast all elements as ObjectIDs.
[akkoma]
/
test
/
repo_test.exs
diff --git
a/test/repo_test.exs
b/test/repo_test.exs
index 2224a6b2b546a879f6121d5f3ee4c440a60a4bad..daffc65427487492b2d5d4113f0889ece8648d9c 100644
(file)
--- a/
test/repo_test.exs
+++ b/
test/repo_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.RepoTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.RepoTest do
@@
-67,7
+67,7
@@
defmodule Pleroma.RepoTest do
:ok
end
:ok
end
- clear_config([:i_am_aware_this_may_cause_data_loss, :disable_migration_check])
+
setup do:
clear_config([:i_am_aware_this_may_cause_data_loss, :disable_migration_check])
test "raises if it detects unapplied migrations" do
assert_raise Pleroma.Repo.UnappliedMigrationsError, fn ->
test "raises if it detects unapplied migrations" do
assert_raise Pleroma.Repo.UnappliedMigrationsError, fn ->